pub trait FromSafeCastArch<T> {
// Required method
fn from_safe_cast_arch(value: T) -> Self;
}Expand description
Trait identical to FromSafeCast, but for conversions that are not
available on all architectures.
Required Methods§
Sourcefn from_safe_cast_arch(value: T) -> Self
fn from_safe_cast_arch(value: T) -> Self
Create a Self from value. This operation is guaranteed to be lossless.
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.