pub struct Vital {
pub life: f32,
pub shields: f32,
pub energy: f32,
}
Fields§
§life: f32
§shields: f32
§energy: f32
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Vital
impl RefUnwindSafe for Vital
impl Send for Vital
impl Sync for Vital
impl Unpin for Vital
impl UnwindSafe for Vital
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