pub struct Index<T>(/* private fields */);Expand description
Represents an offset into an array of type T owned by the root glTF object.
Implementations§
Trait Implementations§
Source§impl<'de, T> Deserialize<'de> for Index<T>
impl<'de, T> Deserialize<'de> for Index<T>
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
Source§impl<T: PartialOrd> PartialOrd for Index<T>
impl<T: PartialOrd> PartialOrd for Index<T>
Source§impl<T: Validate> Validate for Index<T>
impl<T: Validate> Validate for Index<T>
Source§fn validate_minimally<P, R>(&self, root: &Root, path: P, report: &mut R)
fn validate_minimally<P, R>(&self, root: &Root, path: P, report: &mut R)
Validates only the invariants required for the library to function safely.
impl<T: Copy> Copy for Index<T>
Auto Trait Implementations§
impl<T> Freeze for Index<T>
impl<T> RefUnwindSafe for Index<T>where
T: RefUnwindSafe,
impl<T> Send for Index<T>where
T: Send,
impl<T> Sync for Index<T>where
T: Sync,
impl<T> Unpin for Index<T>where
T: Unpin,
impl<T> UnwindSafe for Index<T>where
T: UnwindSafe,
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