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