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

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

type Output

Output type.

Loading content...

Required methods

fn cast_i8(x: i8) -> Self::Output

Cast from i8.

fn cast_u8(x: u8) -> Self::Output

Cast from u8.

fn cast_i16(x: i16) -> Self::Output

Cast from i16.

fn cast_u16(x: u16) -> Self::Output

Cast from u16.

fn cast_f32(x: f32) -> Self::Output

Cast from f32.

Loading content...

Implementors

impl Cast for F32[src]

type Output = f32

impl Cast for I16[src]

type Output = i16

impl Cast for I8[src]

type Output = i8

impl Cast for U16[src]

type Output = u16

impl Cast for U8[src]

type Output = u8

Loading content...