pub struct DemoEventSample {
pub attacker: PlayerId,
pub victim: PlayerId,
}Fields§
§attacker: PlayerId§victim: PlayerIdTrait Implementations§
Source§impl Clone for DemoEventSample
impl Clone for DemoEventSample
Source§fn clone(&self) -> DemoEventSample
fn clone(&self) -> DemoEventSample
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 moreSource§impl Debug for DemoEventSample
impl Debug for DemoEventSample
Source§impl PartialEq for DemoEventSample
impl PartialEq for DemoEventSample
impl Eq for DemoEventSample
impl StructuralPartialEq for DemoEventSample
Auto Trait Implementations§
impl Freeze for DemoEventSample
impl RefUnwindSafe for DemoEventSample
impl Send for DemoEventSample
impl Sync for DemoEventSample
impl Unpin for DemoEventSample
impl UnsafeUnpin for DemoEventSample
impl UnwindSafe for DemoEventSample
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