[−][src]Struct gltf::accessor::sparse::Sparse
Sparse storage of attributes that deviate from their initialization value.
Methods
impl<'a> Sparse<'a>
[src]
pub fn count(&self) -> u32
[src]
Returns the number of attributes encoded in this sparse accessor.
pub fn indices(&self) -> Indices<'a>
[src]
Returns an index array of size count
that points to those accessor
attributes that deviate from their initialization value.
pub fn values(&self) -> Values<'a>
[src]
Returns an array of size count * number_of_components
, storing the
displaced accessor attributes pointed by indices
.
pub fn extras(&self) -> &'a Extras
[src]
Optional application specific data.
Auto Trait Implementations
impl<'a> RefUnwindSafe for Sparse<'a>
impl<'a> Send for Sparse<'a>
impl<'a> Sync for Sparse<'a>
impl<'a> Unpin for Sparse<'a>
impl<'a> UnwindSafe for Sparse<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,