[][src]Trait tap::conv::Conv

pub trait Conv where
    Self: Sized
{ fn conv<T>(self) -> T
    where
        Self: Into<T>,
        T: Sized
, { ... } }

Wraps Into::<T>::into as a method that can be placed in pipelines.

Provided methods

fn conv<T>(self) -> T where
    Self: Into<T>,
    T: Sized

Converts self into T using Into<T>.

Examples

use tap::conv::Conv;

let len = "Saluton, mondo!"
  .conv::<String>()
  .len();
Loading content...

Implementors

impl<T> Conv for T[src]

Loading content...