pub struct FinishedRound<TRng> { /* private fields */ }
Implementations§
Source§impl<TRng> FinishedRound<TRng>
impl<TRng> FinishedRound<TRng>
pub fn winner(&self) -> PlayerNumber
pub fn number(&self) -> RoundNumber
Trait Implementations§
Source§impl<TRng: Clone> Clone for FinishedRound<TRng>
impl<TRng: Clone> Clone for FinishedRound<TRng>
Source§fn clone(&self) -> FinishedRound<TRng>
fn clone(&self) -> FinishedRound<TRng>
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 moreAuto Trait Implementations§
impl<TRng> Freeze for FinishedRound<TRng>where
TRng: Freeze,
impl<TRng> RefUnwindSafe for FinishedRound<TRng>where
TRng: RefUnwindSafe,
impl<TRng> Send for FinishedRound<TRng>where
TRng: Send,
impl<TRng> Sync for FinishedRound<TRng>where
TRng: Sync,
impl<TRng> Unpin for FinishedRound<TRng>where
TRng: Unpin,
impl<TRng> UnwindSafe for FinishedRound<TRng>where
TRng: UnwindSafe,
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