Trait gltf::animation::util::rotations::Cast [−][src]
pub trait Cast { type Output; fn cast_i8(x: [i8; 4]) -> Self::Output; fn cast_u8(x: [u8; 4]) -> Self::Output; fn cast_i16(x: [i16; 4]) -> Self::Output; fn cast_u16(x: [u16; 4]) -> Self::Output; fn cast_f32(x: [f32; 4]) -> Self::Output; }
This is supported on crate feature
utils
only.Expand description
Trait for types which describe casting behaviour.
Associated Types
Loading content...Required methods
fn cast_i8(x: [i8; 4]) -> Self::Output
[src]
Expand description
Cast from i8.
fn cast_u8(x: [u8; 4]) -> Self::Output
[src]
Expand description
Cast from u8.
fn cast_i16(x: [i16; 4]) -> Self::Output
[src]
Expand description
Cast from i16.
fn cast_u16(x: [u16; 4]) -> Self::Output
[src]
Expand description
Cast from u16.
fn cast_f32(x: [f32; 4]) -> Self::Output
[src]
Expand description
Cast from f32.