Trait OfType

Source
pub trait OfType {
    // Provided method
    fn of<T>() -> bool
       where T: 'static,
             Self: 'static { ... }
}

Provided Methods§

Source

fn of<T>() -> bool
where T: 'static, Self: 'static,

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> OfType for T