Enum toornament::MatchStatus
[−]
[src]
pub enum MatchStatus { Pending, Running, Completed, }
A match status.
Variants
Pending
Implies the match has not started yet
Running
Means it has started but not yet ended
Completed
Indicates the match is finished
Trait Implementations
impl Clone for MatchStatus
[src]
fn clone(&self) -> MatchStatus
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for MatchStatus
[src]
impl Eq for MatchStatus
[src]
impl Ord for MatchStatus
[src]
fn cmp(&self, __arg_0: &MatchStatus) -> Ordering
This method returns an Ordering
between self
and other
. Read more
impl PartialEq for MatchStatus
[src]
fn eq(&self, __arg_0: &MatchStatus) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl PartialOrd for MatchStatus
[src]
fn partial_cmp(&self, __arg_0: &MatchStatus) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool
1.0.0
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Rhs) -> bool
1.0.0
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &Rhs) -> bool
1.0.0
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Rhs) -> bool
1.0.0
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more