Enum rcir::ElectionResult[][src]

pub enum ElectionResult<'a, T: 'a> {
    Winner(&'a T),
    Tie(Vec<&'a T>),
}

Variants

Trait Implementations

impl<'a, T: Debug + 'a> Debug for ElectionResult<'a, T>
[src]

Formats the value using the given formatter. Read more

impl<'a, T: PartialEq + 'a> PartialEq for ElectionResult<'a, T>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl<'a, T> Send for ElectionResult<'a, T> where
    T: Sync

impl<'a, T> Sync for ElectionResult<'a, T> where
    T: Sync