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