Trait workspace::notifications::NotificationHandle
source · pub trait NotificationHandle {
// Required methods
fn id(&self) -> usize;
fn as_any(&self) -> &AnyViewHandle;
}
Required Methods§
Trait Implementations§
source§impl From<&dyn NotificationHandle> for AnyViewHandle
impl From<&dyn NotificationHandle> for AnyViewHandle
source§fn from(val: &dyn NotificationHandle) -> Self
fn from(val: &dyn NotificationHandle) -> Self
Converts to this type from the input type.