Struct boxcars::AppliedDamage
source · pub struct AppliedDamage {
pub id: u8,
pub position: Vector3f,
pub damage_index: i32,
pub total_damage: i32,
}
Fields§
§id: u8
§position: Vector3f
§damage_index: i32
§total_damage: i32
Trait Implementations§
source§impl Clone for AppliedDamage
impl Clone for AppliedDamage
source§fn clone(&self) -> AppliedDamage
fn clone(&self) -> AppliedDamage
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AppliedDamage
impl Debug for AppliedDamage
source§impl PartialEq for AppliedDamage
impl PartialEq for AppliedDamage
source§fn eq(&self, other: &AppliedDamage) -> bool
fn eq(&self, other: &AppliedDamage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AppliedDamage
impl Serialize for AppliedDamage
impl Copy for AppliedDamage
impl StructuralPartialEq for AppliedDamage
Auto Trait Implementations§
impl Freeze for AppliedDamage
impl RefUnwindSafe for AppliedDamage
impl Send for AppliedDamage
impl Sync for AppliedDamage
impl Unpin for AppliedDamage
impl UnwindSafe for AppliedDamage
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