pub struct KillEater(pub u32);
Expand description
Represents the “kill eater” attribute.
This attribute is included with items that have a strange counter, regardless of quality which allows strangified non-strange items to be identified.
The value refers to the number of kills, or score count.
Tuple Fields§
§0: u32
Trait Implementations§
Source§impl Attribute for KillEater
impl Attribute for KillEater
Source§const USES_FLOAT_VALUE: bool = false
const USES_FLOAT_VALUE: bool = false
Not part of the schema. Read more
Source§const ATTRIBUTE: AttributeDef
const ATTRIBUTE: AttributeDef
The attribute definition.
Source§fn attribute_value(&self) -> AttributeValue
fn attribute_value(&self) -> AttributeValue
Gets the attribute value.
Source§fn attribute_float_value(&self) -> Option<f32>
fn attribute_float_value(&self) -> Option<f32>
Gets the attribute float value.
Source§impl From<KillEater> for ItemAttribute
impl From<KillEater> for ItemAttribute
Source§impl TryFromIntAttributeValue for KillEater
impl TryFromIntAttributeValue for KillEater
Source§fn try_from_attribute_value(v: AttributeValue) -> Option<Self>
fn try_from_attribute_value(v: AttributeValue) -> Option<Self>
Attempts conversion from an attribute value.
Source§fn try_from_attribute_float_value(v: f32) -> Option<Self>
fn try_from_attribute_float_value(v: f32) -> Option<Self>
Attempts conversion from an attribute float value.
impl Copy for KillEater
impl Eq for KillEater
impl StructuralPartialEq for KillEater
Auto Trait Implementations§
impl Freeze for KillEater
impl RefUnwindSafe for KillEater
impl Send for KillEater
impl Sync for KillEater
impl Unpin for KillEater
impl UnwindSafe for KillEater
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