pub trait Into<T> { // Required methods pub fn into(self) -> T; }
Convert a Self value into a T value
Self
T
pub fn into(self) -> T
impl<T, U> Into<T> for U where T: From<U>
Convert a
Selfvalue into aTvalue