pub struct CombatLogEntry {
pub timestamp: f32,
pub attacker_id: u32,
pub defender_id: u32,
pub result: HitResult,
pub status_applied: Option<StatusKind>,
}Expand description
An entry in the combat event log.
Fields§
§timestamp: f32§attacker_id: u32§defender_id: u32§result: HitResult§status_applied: Option<StatusKind>Trait Implementations§
Source§impl Clone for CombatLogEntry
impl Clone for CombatLogEntry
Source§fn clone(&self) -> CombatLogEntry
fn clone(&self) -> CombatLogEntry
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for CombatLogEntry
impl RefUnwindSafe for CombatLogEntry
impl Send for CombatLogEntry
impl Sync for CombatLogEntry
impl Unpin for CombatLogEntry
impl UnsafeUnpin for CombatLogEntry
impl UnwindSafe for CombatLogEntry
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