pub trait Cast {
    type Output;
    fn cast_u8(x: [u8; 2]) -> Self::Output;
fn cast_u16(x: [u16; 2]) -> Self::Output;
fn cast_f32(x: [f32; 2]) -> Self::Output; }
This is supported on crate feature utils only.
Expand description

Trait for types which describe casting behaviour.

Associated Types

Output type.

Required methods

Cast from u8 pair.

Cast from u16 pair.

Cast from f32 pair.

Implementors