Struct skillratings::MultiTeamOutcome
source · pub struct MultiTeamOutcome(/* private fields */);
Expand description
Outcome for a free-for-all match or a match that involves more than two teams.
Every team is assigned a rank, depending on their placement. The lower the rank, the better.
If two or more teams tie with each other, assign them the same rank.
For example: Team A takes 1st place, Team C takes 2nd place, Team B takes 3rd place,
and Teams D and E tie with each other and both take the 4th place.
In that case you would assign Team A = 1, Team B = 3, Team C = 2, Team D = 4, and Team E = 4.
Implementations§
Trait Implementations§
source§impl Clone for MultiTeamOutcome
impl Clone for MultiTeamOutcome
source§fn clone(&self) -> MultiTeamOutcome
fn clone(&self) -> MultiTeamOutcome
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 moresource§impl Debug for MultiTeamOutcome
impl Debug for MultiTeamOutcome
source§impl From<MultiTeamOutcome> for usize
impl From<MultiTeamOutcome> for usize
source§fn from(v: MultiTeamOutcome) -> Self
fn from(v: MultiTeamOutcome) -> Self
Converts to this type from the input type.
source§impl From<usize> for MultiTeamOutcome
impl From<usize> for MultiTeamOutcome
source§impl Ord for MultiTeamOutcome
impl Ord for MultiTeamOutcome
source§fn cmp(&self, other: &MultiTeamOutcome) -> Ordering
fn cmp(&self, other: &MultiTeamOutcome) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for MultiTeamOutcome
impl PartialEq for MultiTeamOutcome
source§fn eq(&self, other: &MultiTeamOutcome) -> bool
fn eq(&self, other: &MultiTeamOutcome) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for MultiTeamOutcome
impl PartialOrd for MultiTeamOutcome
source§fn partial_cmp(&self, other: &MultiTeamOutcome) -> Option<Ordering>
fn partial_cmp(&self, other: &MultiTeamOutcome) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for MultiTeamOutcome
impl Eq for MultiTeamOutcome
impl StructuralEq for MultiTeamOutcome
impl StructuralPartialEq for MultiTeamOutcome
Auto Trait Implementations§
impl RefUnwindSafe for MultiTeamOutcome
impl Send for MultiTeamOutcome
impl Sync for MultiTeamOutcome
impl Unpin for MultiTeamOutcome
impl UnwindSafe for MultiTeamOutcome
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