pub struct AnimationIndex(pub usize);Expand description
Typed index into the glTF AnimationIndex[] array.
Tuple Fields§
§0: usizeImplementations§
Trait Implementations§
Source§impl Clone for AnimationIndex
impl Clone for AnimationIndex
Source§fn clone(&self) -> AnimationIndex
fn clone(&self) -> AnimationIndex
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AnimationIndex
Source§impl Debug for AnimationIndex
impl Debug for AnimationIndex
Source§impl Default for AnimationIndex
impl Default for AnimationIndex
Source§fn default() -> AnimationIndex
fn default() -> AnimationIndex
Returns the “default value” for a type. Read more
impl Eq for AnimationIndex
Source§impl From<AnimationIndex> for usize
impl From<AnimationIndex> for usize
Source§fn from(value: AnimationIndex) -> Self
fn from(value: AnimationIndex) -> Self
Converts to this type from the input type.
Source§impl From<usize> for AnimationIndex
impl From<usize> for AnimationIndex
Source§impl Hash for AnimationIndex
impl Hash for AnimationIndex
Source§impl Ord for AnimationIndex
impl Ord for AnimationIndex
Source§fn cmp(&self, other: &AnimationIndex) -> Ordering
fn cmp(&self, other: &AnimationIndex) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AnimationIndex
impl PartialEq for AnimationIndex
Source§impl PartialOrd for AnimationIndex
impl PartialOrd for AnimationIndex
impl StructuralPartialEq for AnimationIndex
Auto Trait Implementations§
impl Freeze for AnimationIndex
impl RefUnwindSafe for AnimationIndex
impl Send for AnimationIndex
impl Sync for AnimationIndex
impl Unpin for AnimationIndex
impl UnsafeUnpin for AnimationIndex
impl UnwindSafe for AnimationIndex
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