Is

Trait Is 

Source
pub trait Is<Rhs: ?Sized>: Sealed {
    // Required methods
    fn coerce(self) -> Rhs
       where Self: Sized,
             Rhs: Sized;
    fn rcoerce(rhs: Rhs) -> Self
       where Self: Sized,
             Rhs: Sized;
}

Required Methods§

Source

fn coerce(self) -> Rhs
where Self: Sized, Rhs: Sized,

Source

fn rcoerce(rhs: Rhs) -> Self
where Self: Sized, Rhs: Sized,

Implementors§

Source§

impl<T: ?Sized> Is<T> for T