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<AppliedDamage> for AppliedDamage
impl PartialEq<AppliedDamage> 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 ==
.