pub struct EndFight {
pub matchup: [PlayerId; 2],
pub winner: Option<PlayerId>,
}Fields§
§matchup: [PlayerId; 2]§winner: Option<PlayerId>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EndFight
impl RefUnwindSafe for EndFight
impl Send for EndFight
impl Sync for EndFight
impl Unpin for EndFight
impl UnwindSafe for EndFight
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