Trait gltf::animation::util::morph_target_weights::Cast[][src]

pub trait Cast {
    type Output;
    fn cast_i8(x: i8) -> Self::Output;
fn cast_u8(x: u8) -> Self::Output;
fn cast_i16(x: i16) -> Self::Output;
fn cast_u16(x: u16) -> Self::Output;
fn cast_f32(x: f32) -> Self::Output; }

Trait for types which describe casting behaviour.

Associated Types

Output type.

Required Methods

Cast from i8.

Cast from u8.

Cast from i16.

Cast from u16.

Cast from f32.

Implementors