[][src]Trait gltf::mesh::util::indices::Cast

pub trait Cast {
    type Output;
    fn cast_u8(x: u8) -> Self::Output;
fn cast_u16(x: u16) -> Self::Output;
fn cast_u32(x: u32) -> Self::Output; }
This is supported on feature="utils" only.

Trait for types which describe casting behaviour.

Associated Types

type Output

This is supported on feature="utils" only.

Output type.

Loading content...

Required methods

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

This is supported on feature="utils" only.

Cast from u8.

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

This is supported on feature="utils" only.

Cast from u16.

fn cast_u32(x: u32) -> Self::Output

This is supported on feature="utils" only.

Cast from u32.

Loading content...

Implementors

impl Cast for U32[src]

type Output = u32

This is supported on feature="utils" only.
Loading content...