IntoIn

Trait IntoIn 

Source
pub trait IntoIn<'a, T>: Sized {
    // Required method
    fn into_in(self, allocator: &'a Allocator) -> T;
}
Expand description

This trait works similarly to the standard library Into trait. It is similar to FromIn is reflective, A FromIn implementation also implicitly implements IntoIn for the opposite type.

Required Methods§

Source

fn into_in(self, allocator: &'a Allocator) -> T

Converts this type into the (usually inferred) input type within the given allocator.

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<'a, T, U> IntoIn<'a, U> for T
where U: FromIn<'a, T>,

FromIn implicitly implements IntoIn.