pub trait Convwhere Self: Sized,{ // Provided method fn conv<T>(self) -> T where Self: Into<T>, T: Sized { ... } }
Wraps Into::<T>::into as a method that can be placed in pipelines.
Into::<T>::into
Converts self into T using Into<T>.
self
T
Into<T>
use tap::conv::Conv; let len = "Saluton, mondo!" .conv::<String>() .len();