pub struct PlayerEight {Show 13 fields
pub max_health: f32,
pub current_health: f32,
pub first_spawn: u8,
pub inventory: InventoryVersions,
pub recipes: Vec<String>,
pub unknown: Vec<String>,
pub materials: Vec<String>,
pub tutorials: Vec<String>,
pub uniques: Vec<String>,
pub beard_type: BeardStyle,
pub hair_type: HairStyle,
pub skin: Color,
pub hair: Color,
}Fields§
§max_health: f32§current_health: f32§first_spawn: u8§inventory: InventoryVersions§recipes: Vec<String>§unknown: Vec<String>§materials: Vec<String>§tutorials: Vec<String>§uniques: Vec<String>§beard_type: BeardStyle§hair_type: HairStyle§skin: Color§hair: ColorImplementations§
Source§impl PlayerEight
impl PlayerEight
pub fn upgrade(self) -> PlayerNine
Trait Implementations§
Source§impl Clone for PlayerEight
impl Clone for PlayerEight
Source§impl Debug for PlayerEight
impl Debug for PlayerEight
Source§impl<'de> Deserialize<'de> for PlayerEight
impl<'de> Deserialize<'de> for PlayerEight
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 PlayerEight
impl PartialEq for PlayerEight
Source§impl Serialize for PlayerEight
impl Serialize for PlayerEight
impl StructuralPartialEq for PlayerEight
Auto Trait Implementations§
impl Forget for PlayerEight
impl Freeze for PlayerEight
impl Move for PlayerEight
impl RefUnwindSafe for PlayerEight
impl Send for PlayerEight
impl Sync for PlayerEight
impl Unpin for PlayerEight
impl UnsafeUnpin for PlayerEight
impl UnwindSafe for PlayerEight
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