pub trait CustomInto<T> {
// Required method
fn custom_into(self) -> T;
}
Expand description
Very similar to the Into
trait, but we can implement it on foreign types.
pub trait CustomInto<T> {
// Required method
fn custom_into(self) -> T;
}
Very similar to the Into
trait, but we can implement it on foreign types.