Trait gltf::mesh::util::tex_coords::Cast [−][src]
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;
}Trait for types which describe casting behaviour.
Associated Types
type Output
Output type.
Required Methods
fn cast_u8(x: [u8; 2]) -> Self::Output
Cast from u8 pair.
fn cast_u16(x: [u16; 2]) -> Self::Output
Cast from u16 pair.
fn cast_f32(x: [f32; 2]) -> Self::Output
Cast from f32 pair.