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