Enum rcir::ElectionResult [−][src]
Variants
Winner(&'a T)
Tie(Vec<&'a T>)
Trait Implementations
impl<'a, T: Debug + 'a> Debug for ElectionResult<'a, T>
[src]
impl<'a, T: Debug + 'a> Debug for ElectionResult<'a, T>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'a, T: PartialEq + 'a> PartialEq for ElectionResult<'a, T>
[src]
impl<'a, T: PartialEq + 'a> PartialEq for ElectionResult<'a, T>
fn eq(&self, other: &ElectionResult<'a, T>) -> bool
[src]
fn eq(&self, other: &ElectionResult<'a, T>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ElectionResult<'a, T>) -> bool
[src]
fn ne(&self, other: &ElectionResult<'a, T>) -> bool
This method tests for !=
.
Auto Trait Implementations
impl<'a, T> Send for ElectionResult<'a, T> where
T: Sync,
impl<'a, T> Send for ElectionResult<'a, T> where
T: Sync,
impl<'a, T> Sync for ElectionResult<'a, T> where
T: Sync,
impl<'a, T> Sync for ElectionResult<'a, T> where
T: Sync,