pub struct Sparse<'a> {
pub count: u64,
pub indices: SparseIndices<'a>,
pub values: SparseValues<'a>,
pub extensions: Option<Extensions<'a>>,
pub extras: Option<Extras<'a>>,
}Expand description
Sparse storage of accessor values that deviate from their initialization value.
Fields§
§count: u64Number of deviating accessor values stored in the sparse array.
indices: SparseIndices<'a>An object pointing to a buffer view containing the indices of deviating accessor values.
values: SparseValues<'a>An object pointing to a buffer view containing the deviating accessor values.
extensions: Option<Extensions<'a>>§extras: Option<Extras<'a>>Implementations§
Trait Implementations§
Source§impl<'de: 'a, 'a> Deserialize<'de> for Sparse<'a>
impl<'de: 'a, 'a> Deserialize<'de> for Sparse<'a>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<'a> Freeze for Sparse<'a>
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> UnsafeUnpin for Sparse<'a>
impl<'a> UnwindSafe for Sparse<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more