Trait IsType

Source
pub trait IsType {
    // Provided method
    fn is<T>(&self) -> bool
       where T: 'static,
             Self: 'static { ... }
}

Provided Methods§

Source

fn is<T>(&self) -> 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: 'static> IsType for T