pub struct RoundOutcome {
pub round: u32,
pub winner: Team,
pub reason: WinReason,
}Expand description
The most recently accepted round result, retained independently of events.
See TacticalMatch::summary for an example. A forfeit records the current
round and ends the match immediately, including during buy or intermission.
Fields§
§round: u32One-based round in which the result was accepted.
winner: Team§reason: WinReasonTrait Implementations§
Source§impl Clone for RoundOutcome
impl Clone for RoundOutcome
Source§fn clone(&self) -> RoundOutcome
fn clone(&self) -> RoundOutcome
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 RoundOutcome
impl Debug for RoundOutcome
Source§impl PartialEq for RoundOutcome
impl PartialEq for RoundOutcome
impl Copy for RoundOutcome
impl Eq for RoundOutcome
impl StructuralPartialEq for RoundOutcome
Auto Trait Implementations§
impl Freeze for RoundOutcome
impl RefUnwindSafe for RoundOutcome
impl Send for RoundOutcome
impl Sync for RoundOutcome
impl Unpin for RoundOutcome
impl UnwindSafe for RoundOutcome
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