ConvertInto

Trait ConvertInto 

Source
pub trait ConvertInto<T>: Sized {
    // Required method
    fn convert_into(self) -> T;
}

Required Methods§

Source

fn convert_into(self) -> T

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T, U> ConvertInto<U> for T
where U: ConvertFrom<T>,