pub struct NpcStats {
pub attributes: Attributes<u8>,
pub skills: Skills<u8>,
pub faction: u8,
pub health: i16,
pub magicka: i16,
pub fatigue: i16,
}
Fields§
§attributes: Attributes<u8>
§skills: Skills<u8>
§faction: u8
§health: i16
§magicka: i16
§fatigue: i16
Trait Implementations§
source§impl<'de> Deserialize<'de> for NpcStats
impl<'de> Deserialize<'de> for NpcStats
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 NpcStats
impl PartialEq for NpcStats
impl Eq for NpcStats
impl StructuralEq for NpcStats
impl StructuralPartialEq for NpcStats
Auto Trait Implementations§
impl RefUnwindSafe for NpcStats
impl Send for NpcStats
impl Sync for NpcStats
impl Unpin for NpcStats
impl UnwindSafe for NpcStats
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