pub trait StaticWrappable: 'static {
    // Required methods
    fn wrap(&self, name: Arguments<'_>) -> Wrapper<Self>;
    fn wrap_signal(&self, signal: u8, name: Arguments<'_>) -> Wrapper<Self>;
}
Expand description

Helper trait for constructing Wrapper<T>s with type equal to TypeId::of::<Self>()

Required Methods§

source

fn wrap(&self, name: Arguments<'_>) -> Wrapper<Self>

source

fn wrap_signal(&self, signal: u8, name: Arguments<'_>) -> Wrapper<Self>

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T: ?Sized + 'static> StaticWrappable for T