#[non_exhaustive]#[repr(i32)]pub enum ItemQuality {
Poor = 0,
Common = 1,
Uncommon = 2,
Rare = 3,
Epic = 4,
Legendary = 5,
Artifact = 6,
Heirloom = 7,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Source§impl ItemQuality
impl ItemQuality
Sourcepub const fn rand_prop_points_bucket(
self,
usage: RandPropPointsUse,
) -> Option<RandPropPointsBucket>
pub const fn rand_prop_points_bucket( self, usage: RandPropPointsUse, ) -> Option<RandPropPointsBucket>
Select the RandPropPoints column family for the consuming calculation.
Trait Implementations§
Source§impl Clone for ItemQuality
impl Clone for ItemQuality
Source§fn clone(&self) -> ItemQuality
fn clone(&self) -> ItemQuality
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 ItemQuality
impl Debug for ItemQuality
Source§impl<'de> Deserialize<'de> for ItemQuality
impl<'de> Deserialize<'de> for ItemQuality
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
Source§impl PartialEq for ItemQuality
impl PartialEq for ItemQuality
Source§impl Serialize for ItemQuality
impl Serialize for ItemQuality
impl Copy for ItemQuality
impl Eq for ItemQuality
impl StructuralPartialEq for ItemQuality
Auto Trait Implementations§
impl Freeze for ItemQuality
impl RefUnwindSafe for ItemQuality
impl Send for ItemQuality
impl Sync for ItemQuality
impl Unpin for ItemQuality
impl UnsafeUnpin for ItemQuality
impl UnwindSafe for ItemQuality
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