[][src]Trait gltf::accessor::Item

pub trait Item {
    fn from_slice(slice: &[u8]) -> Self;
fn zero() -> Self; }

Represents items that can be read by an Accessor.

Required methods

fn from_slice(slice: &[u8]) -> Self

Create an object of this type from a byte slice.

fn zero() -> Self

Create an object of this type that represents a zero value.

Loading content...

Implementations on Foreign Types

impl Item for i8[src]

impl Item for i16[src]

impl Item for u8[src]

impl Item for u16[src]

impl Item for u32[src]

impl Item for f32[src]

impl<T: Item + Copy> Item for [T; 2][src]

impl<T: Item + Copy> Item for [T; 3][src]

impl<T: Item + Copy> Item for [T; 4][src]

Loading content...

Implementors

Loading content...