Wrappable

Trait Wrappable 

Source
pub trait Wrappable {
    // Required methods
    fn wrap_type(&self, tp: u64, name: Arguments<'_>) -> Wrapper<Self>;
    fn wrap_type_signal(
        &self,
        tp: u64,
        signal: u8,
        name: Arguments<'_>,
    ) -> Wrapper<Self>;
}
Expand description

Helper trait for constructing Wrapper<T>s

Required Methods§

Source

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

Source

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T: ?Sized> Wrappable for T