pub struct ShapeIndex(pub usize);Expand description
Typed index into the glTF ShapeIndex[] array.
Tuple Fields§
§0: usizeImplementations§
Trait Implementations§
Source§impl Clone for ShapeIndex
impl Clone for ShapeIndex
Source§fn clone(&self) -> ShapeIndex
fn clone(&self) -> ShapeIndex
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 ShapeIndex
Source§impl Debug for ShapeIndex
impl Debug for ShapeIndex
Source§impl Default for ShapeIndex
impl Default for ShapeIndex
Source§fn default() -> ShapeIndex
fn default() -> ShapeIndex
Returns the “default value” for a type. Read more
impl Eq for ShapeIndex
Source§impl From<ShapeIndex> for usize
impl From<ShapeIndex> for usize
Source§fn from(value: ShapeIndex) -> Self
fn from(value: ShapeIndex) -> Self
Converts to this type from the input type.
Source§impl From<usize> for ShapeIndex
impl From<usize> for ShapeIndex
Source§impl Hash for ShapeIndex
impl Hash for ShapeIndex
Source§impl Ord for ShapeIndex
impl Ord for ShapeIndex
Source§fn cmp(&self, other: &ShapeIndex) -> Ordering
fn cmp(&self, other: &ShapeIndex) -> 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 ShapeIndex
impl PartialEq for ShapeIndex
Source§impl PartialOrd for ShapeIndex
impl PartialOrd for ShapeIndex
impl StructuralPartialEq for ShapeIndex
Auto Trait Implementations§
impl Freeze for ShapeIndex
impl RefUnwindSafe for ShapeIndex
impl Send for ShapeIndex
impl Sync for ShapeIndex
impl Unpin for ShapeIndex
impl UnsafeUnpin for ShapeIndex
impl UnwindSafe for ShapeIndex
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