pub struct PetStruct {
pub leveling: LevelingStruct,
pub rarity: String,
pub skin: Option<String>,
pub held_item: Option<String>,
}Fields
leveling: LevelingStructrarity: Stringskin: Option<String>held_item: Option<String>Methods from Deref<Target = LevelingStruct>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PetStruct
impl Send for PetStruct
impl Sync for PetStruct
impl Unpin for PetStruct
impl UnwindSafe for PetStruct
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more