pub struct MaterialId(/* private fields */);Trait Implementations§
Source§impl Clone for MaterialId
impl Clone for MaterialId
Source§fn clone(&self) -> MaterialId
fn clone(&self) -> MaterialId
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 MaterialId
impl Debug for MaterialId
Source§impl Default for MaterialId
impl Default for MaterialId
Source§fn default() -> MaterialId
fn default() -> MaterialId
Returns the “default value” for a type. Read more
Source§impl From<KeyData> for MaterialId
impl From<KeyData> for MaterialId
Source§impl Hash for MaterialId
impl Hash for MaterialId
Source§impl Key for MaterialId
impl Key for MaterialId
Source§fn null() -> Self
fn null() -> Self
Creates a new key that is always invalid and distinct from any non-null
key. A null key can only be created through this method (or default
initialization of keys made with
new_key_type!, which calls this
method). Read moreSource§impl Ord for MaterialId
impl Ord for MaterialId
Source§fn cmp(&self, other: &MaterialId) -> Ordering
fn cmp(&self, other: &MaterialId) -> 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 MaterialId
impl PartialEq for MaterialId
Source§impl PartialOrd for MaterialId
impl PartialOrd for MaterialId
impl Copy for MaterialId
impl Eq for MaterialId
impl StructuralPartialEq for MaterialId
Auto Trait Implementations§
impl Freeze for MaterialId
impl RefUnwindSafe for MaterialId
impl Send for MaterialId
impl Sync for MaterialId
impl Unpin for MaterialId
impl UnsafeUnpin for MaterialId
impl UnwindSafe for MaterialId
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