pub trait Cast {
type Output;
// Required methods
fn cast_u8(x: [u8; 2]) -> Self::Output;
fn cast_u16(x: [u16; 2]) -> Self::Output;
fn cast_f32(x: [f32; 2]) -> Self::Output;
}
Expand description
Trait for types which describe casting behaviour.
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.