pub struct MaterialId(/* private fields */);Expand description
Typed identifier for a material resource.
Implementations§
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 Default for MaterialId
impl Default for MaterialId
Source§fn default() -> MaterialId
fn default() -> MaterialId
Returns the “default value” for a type. Read more
impl Eq for MaterialId
Source§impl From<MaterialId> for u64
impl From<MaterialId> for u64
Source§fn from(value: MaterialId) -> Self
fn from(value: MaterialId) -> Self
Converts to this type from the input type.
Source§impl From<u64> for MaterialId
impl From<u64> 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§impl PartialOrd for MaterialId
impl PartialOrd 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