Struct gltf::mesh::Reader[][src]

pub struct Reader<'a, 's, F> where
    F: Clone + Fn(Buffer<'a>) -> Option<&'s [u8]>, 
{ /* fields omitted */ }

Mesh primitive reader.

Methods

impl<'a, 's, F> Reader<'a, 's, F> where
    F: Clone + Fn(Buffer<'a>) -> Option<&'s [u8]>, 
[src]

Visits the vertex positions of a primitive.

Visits the vertex normals of a primitive.

Visits the vertex tangents of a primitive.

Visits the vertex colors of a primitive.

Visits the vertex draw sequence of a primitive.

Visits the joint indices of the primitive.

Visits the vertex texture co-ordinates of a primitive.

Visits the joint weights of the primitive.

Important traits for ReadMorphTargets<'a, 's, F>

Visits the morph targets of the primitive.

Trait Implementations

impl<'a, 's, F: Clone> Clone for Reader<'a, 's, F> where
    F: Clone + Fn(Buffer<'a>) -> Option<&'s [u8]>, 
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a, 's, F: Debug> Debug for Reader<'a, 's, F> where
    F: Clone + Fn(Buffer<'a>) -> Option<&'s [u8]>, 
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a, 's, F> Send for Reader<'a, 's, F> where
    F: Send

impl<'a, 's, F> Sync for Reader<'a, 's, F> where
    F: Sync