[][src]Trait is_type::Is

pub trait Is {
    type Type;
    fn into(self) -> Self::Type;
fn into_ref(&self) -> &Self::Type;
fn into_mut_ref(&mut self) -> &mut Self::Type;
fn from(x: Self::Type) -> Self;
fn from_ref(x: &Self::Type) -> &Self;
fn from_mut_ref(x: &mut Self::Type) -> &mut Self; }

Associated Types

type Type

Loading content...

Required methods

fn into(self) -> Self::Type

fn into_ref(&self) -> &Self::Type

fn into_mut_ref(&mut self) -> &mut Self::Type

fn from(x: Self::Type) -> Self

fn from_ref(x: &Self::Type) -> &Self

fn from_mut_ref(x: &mut Self::Type) -> &mut Self

Loading content...

Implementors

impl<T> Is for T[src]

type Type = T

Loading content...