pub struct Zombie {
pub id: usize,
pub name: String,
pub health: i32,
pub attack: u32,
}
Fields§
§id: usize
§name: String
§health: i32
§attack: u32
Trait Implementations§
impl Send for Zombie
impl Sync for Zombie
Auto Trait Implementations§
impl Freeze for Zombie
impl RefUnwindSafe for Zombie
impl Unpin for Zombie
impl UnwindSafe for Zombie
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