pub trait NotificationHandle {
    // Required methods
    fn id(&self) -> usize;
    fn as_any(&self) -> &AnyViewHandle;
}

Required Methods§

source

fn id(&self) -> usize

source

fn as_any(&self) -> &AnyViewHandle

Trait Implementations§

source§

impl From<&dyn NotificationHandle> for AnyViewHandle

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 ViewHandle<T>

source§

fn id(&self) -> usize

source§

fn as_any(&self) -> &AnyViewHandle

Implementors§