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