Trait to_method::To[][src]

pub trait To {
    fn to<T>(self) -> T
    where
        Self: Into<T>
, { ... } }

Extension trait providing the to method.

Provided methods

fn to<T>(self) -> T where
    Self: Into<T>, 
[src]

Converts to T by calling Into<T>::into.

Loading content...

Implementors

impl<T: ?Sized> To for T[src]

Blanket impl for all types. This makes sure that everything implements To and that no downstream impls can exist.

Loading content...