pub struct Idx<T: 'static>(/* private fields */);Expand description
A glTF index. Since pratically all structures in the crate have a lifetime that doesn’t matter
for this type, it’s simply set to static - in practice, just ignore it.
Implementations§
Trait Implementations§
Source§impl<'de, T: 'static> Deserialize<'de> for Idx<T>
impl<'de, T: 'static> Deserialize<'de> for Idx<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
impl<T: Copy + 'static> Copy for Idx<T>
Auto Trait Implementations§
impl<T> Freeze for Idx<T>
impl<T> RefUnwindSafe for Idx<T>where
T: RefUnwindSafe,
impl<T> Send for Idx<T>where
T: Send,
impl<T> Sync for Idx<T>where
T: Sync,
impl<T> Unpin for Idx<T>where
T: Unpin,
impl<T> UnsafeUnpin for Idx<T>
impl<T> UnwindSafe for Idx<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