RawInto

Trait RawInto 

Source
pub trait RawInto<T: Sized>: Sized {
    // Required method
    fn raw_into(self) -> T;
}
Expand description

Trait for raw conversion using the as operator.

Wraps RawFrom.

Required Methods§

Source

fn raw_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<F: Sized, T: RawFrom<F>> RawInto<T> for F