pub trait IntoSafeCastArch<T> {
// Required method
fn into_safe_cast_arch(self) -> T;
}Expand description
Trait identical to IntoSafeCast, but for conversions that are not
available on all architectures.
Required Methods§
Sourcefn into_safe_cast_arch(self) -> T
fn into_safe_cast_arch(self) -> T
Convert self into a T. This operation is guaranteed to be lossless.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl<S, T> IntoSafeCastArch<T> for Swhere
T: FromSafeCastArch<S>,
Reverse operation for types implementing FromSafeCastArch.