#[repr(u32)]pub enum Wear {
FactoryNew = 1,
MinimalWear = 2,
FieldTested = 3,
WellWorn = 4,
BattleScarred = 5,
}
Expand description
Wear.
Variants§
Trait Implementations§
Source§impl Attribute for Wear
impl Attribute for Wear
const DEFINDEX: u32 = 725u32
const NAME: &str = "set_item_texture_wear"
const ATTRIBUTE_CLASS: &str = "set_item_texture_wear"
const DESCRIPTION_STRING: Option<&str> = None
const DESCRIPTION_FORMAT: Option<&str> = None
const EFFECT_TYPE: &str = "positive"
const HIDDEN: bool = true
const STORED_AS_INTEGER: bool = false
Source§impl<'de> Deserialize<'de> for Wear
impl<'de> Deserialize<'de> for Wear
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 Ord for Wear
impl Ord for Wear
Source§impl PartialOrd for Wear
impl PartialOrd for Wear
Source§impl TryFromPrimitive for Wear
impl TryFromPrimitive for Wear
impl Copy for Wear
impl Eq for Wear
impl StructuralPartialEq for Wear
Auto Trait Implementations§
impl Freeze for Wear
impl RefUnwindSafe for Wear
impl Send for Wear
impl Sync for Wear
impl Unpin for Wear
impl UnwindSafe for Wear
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