pub struct PetStruct {
pub leveling: LevelingStruct,
pub rarity: String,
pub skin: Option<String>,
pub held_item: Option<String>,
}Fields§
§leveling: LevelingStruct§rarity: String§skin: Option<String>§held_item: Option<String>Methods from Deref<Target = LevelingStruct>§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PetStruct
impl RefUnwindSafe for PetStruct
impl Send for PetStruct
impl Sync for PetStruct
impl Unpin for PetStruct
impl UnwindSafe for PetStruct
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