pub struct MaterialIndex(/* private fields */);Expand description
Material index.
Implementations§
Trait Implementations§
Source§impl Clone for MaterialIndex
impl Clone for MaterialIndex
Source§fn clone(&self) -> MaterialIndex
fn clone(&self) -> MaterialIndex
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MaterialIndex
impl Debug for MaterialIndex
Source§impl Hash for MaterialIndex
impl Hash for MaterialIndex
Source§impl Ord for MaterialIndex
impl Ord for MaterialIndex
Source§fn cmp(&self, other: &MaterialIndex) -> Ordering
fn cmp(&self, other: &MaterialIndex) -> Ordering
1.21.0 · 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 MaterialIndex
impl PartialEq for MaterialIndex
Source§impl PartialOrd for MaterialIndex
impl PartialOrd for MaterialIndex
impl Copy for MaterialIndex
impl Eq for MaterialIndex
impl StructuralPartialEq for MaterialIndex
Auto Trait Implementations§
impl Freeze for MaterialIndex
impl RefUnwindSafe for MaterialIndex
impl Send for MaterialIndex
impl Sync for MaterialIndex
impl Unpin for MaterialIndex
impl UnwindSafe for MaterialIndex
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