pub trait NotificationHandle: Send {
    // Required methods
    fn id(&self) -> EntityId;
    fn to_any(&self) -> AnyView;
}

Required Methods§

source

fn id(&self) -> EntityId

source

fn to_any(&self) -> AnyView

Trait Implementations§

source§

impl From<&dyn NotificationHandle> for AnyView

source§

fn from(val: &dyn NotificationHandle) -> Self

Converts to this type from the input type.

Implementations on Foreign Types§

source§

impl<T: Notification> NotificationHandle for View<T>

source§

fn id(&self) -> EntityId

source§

fn to_any(&self) -> AnyView

Implementors§