pub struct Damage {
pub type_: DamageType,
pub is_resistable: bool,
pub can_crit: bool,
/* private fields */
}Fields§
§type_: DamageType§is_resistable: bool§can_crit: boolImplementations§
Trait Implementations§
source§impl PartialEq for Damage
impl PartialEq for Damage
impl StructuralPartialEq for Damage
Auto Trait Implementations§
impl RefUnwindSafe for Damage
impl Send for Damage
impl Sync for Damage
impl Unpin for Damage
impl UnwindSafe for Damage
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