Struct wow_dbc::vanilla_tables::material::MaterialKey
source · [−]pub struct MaterialKey {
pub id: u32,
}Available on crate feature
vanilla only.Fields
id: u32Implementations
sourceimpl MaterialKey
impl MaterialKey
Trait Implementations
sourceimpl Clone for MaterialKey
impl Clone for MaterialKey
sourcefn clone(&self) -> MaterialKey
fn clone(&self) -> MaterialKey
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for MaterialKey
impl Debug for MaterialKey
sourceimpl Default for MaterialKey
impl Default for MaterialKey
sourcefn default() -> MaterialKey
fn default() -> MaterialKey
Returns the “default value” for a type. Read more
sourceimpl From<u16> for MaterialKey
impl From<u16> for MaterialKey
sourceimpl From<u32> for MaterialKey
impl From<u32> for MaterialKey
sourceimpl From<u8> for MaterialKey
impl From<u8> for MaterialKey
sourceimpl Hash for MaterialKey
impl Hash for MaterialKey
sourceimpl Ord for MaterialKey
impl Ord for MaterialKey
sourcefn cmp(&self, other: &MaterialKey) -> Ordering
fn cmp(&self, other: &MaterialKey) -> Ordering
1.21.0 · sourceconst fn max(self, other: Self) -> Selfwhere
Self: Sized,
const fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourceconst fn min(self, other: Self) -> Selfwhere
Self: Sized,
const fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourceconst fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
const fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<MaterialKey> for MaterialKey
impl PartialEq<MaterialKey> for MaterialKey
sourcefn eq(&self, other: &MaterialKey) -> bool
fn eq(&self, other: &MaterialKey) -> bool
sourceimpl PartialOrd<MaterialKey> for MaterialKey
impl PartialOrd<MaterialKey> for MaterialKey
sourcefn partial_cmp(&self, other: &MaterialKey) -> Option<Ordering>
fn partial_cmp(&self, other: &MaterialKey) -> Option<Ordering>
1.0.0 · sourceconst fn le(&self, other: &Rhs) -> bool
const fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for MaterialKey
impl Eq for MaterialKey
impl StructuralEq for MaterialKey
impl StructuralPartialEq for MaterialKey
Auto Trait Implementations
impl RefUnwindSafe for MaterialKey
impl Send for MaterialKey
impl Sync for MaterialKey
impl Unpin for MaterialKey
impl UnwindSafe for MaterialKey
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more