[][src]Struct gltf_json::accessor::sparse::Sparse

pub struct Sparse {
    pub count: u32,
    pub indices: Indices,
    pub values: Values,
    pub extensions: Option<Sparse>,
    pub extras: Extras,
}

Sparse storage of attributes that deviate from their initialization value.

Fields

count: u32

The number of attributes encoded in this sparse accessor.

indices: Indices

Index array of size count that points to those accessor attributes that deviate from their initialization value.

Indices must strictly increase.

values: Values

Array of size count * number_of_components storing the displaced accessor attributes pointed by indices.

Substituted values must have the same component_type and number of components as the base Accessor.

extensions: Option<Sparse>

Extension specific data.

extras: Extras

Optional application specific data.

Trait Implementations

impl Validate for Sparse[src]

impl Clone for Sparse[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Sparse[src]

impl Serialize for Sparse[src]

impl<'de> Deserialize<'de> for Sparse[src]

Auto Trait Implementations

impl Sync for Sparse

impl Send for Sparse

impl Unpin for Sparse

impl RefUnwindSafe for Sparse

impl UnwindSafe for Sparse

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]