pub struct KillEaterScore(pub u32);
Expand description
Represents the “kill_eater”, “kill_eater_2”, and “kill_eater_3” attributes. The integer refers to the score count.
Tuple Fields§
§0: u32
Trait Implementations§
Source§impl Attributes for KillEaterScore
impl Attributes for KillEaterScore
Source§const USES_FLOAT_VALUE: bool = false
const USES_FLOAT_VALUE: bool = false
See
Attribute::USES_FLOAT_VALUE
. This applies to all attributes in the set.Source§const ATTRIBUTES: &'static [AttributeDef]
const ATTRIBUTES: &'static [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§fn get_attribute_def_by_defindex(defindex: u32) -> Option<&'static AttributeDef>
fn get_attribute_def_by_defindex(defindex: u32) -> Option<&'static AttributeDef>
Gets the attribute definition for a given defindex.
Auto Trait Implementations§
impl Freeze for KillEaterScore
impl RefUnwindSafe for KillEaterScore
impl Send for KillEaterScore
impl Sync for KillEaterScore
impl Unpin for KillEaterScore
impl UnwindSafe for KillEaterScore
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