pub struct MaterialId(pub u32);Tuple Fields§
§0: u32Implementations§
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 (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 MaterialId
Source§impl Debug for MaterialId
impl Debug for MaterialId
Source§impl<'de> Deserialize<'de> for MaterialId
impl<'de> Deserialize<'de> for MaterialId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MaterialId
Source§impl Hash for MaterialId
impl Hash for MaterialId
Source§impl Ord for MaterialId
impl Ord for MaterialId
Source§fn cmp(&self, other: &MaterialId) -> Ordering
fn cmp(&self, other: &MaterialId) -> 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 MaterialId
impl PartialEq for MaterialId
Source§fn eq(&self, other: &MaterialId) -> bool
fn eq(&self, other: &MaterialId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for MaterialId
impl PartialOrd for MaterialId
Source§impl Serialize for MaterialId
impl Serialize 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