pub trait AsmCastTrait<Out, In> {
type Type;
// Required methods
fn cast_in(_: &mut Out, x: In) -> Self::Type;
fn cast_out(out: &mut Out, _: In, x: Self::Type);
}Expand description
This trait implements the cast functions for the type pair
Required Associated Types§
Required Methods§
fn cast_in(_: &mut Out, x: In) -> Self::Type
fn cast_out(out: &mut Out, _: In, x: Self::Type)
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.