pub trait RawFrom<F: Sized>: Sized {
// Required method
fn raw_from(other: F) -> Self;
}Expand description
Trait for raw conversion using the as operator.
Required Methods§
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.