Trait nekolib_doc::seq::MajorityVote

source ·
pub trait MajorityVote {
    type Item;

    // Required method
    fn majority_vote(&self) -> Option<(&Self::Item, usize)>;
}

Required Associated Types§

Required Methods§

source

fn majority_vote(&self) -> Option<(&Self::Item, usize)>

Implementations on Foreign Types§

source§

impl<T> MajorityVote for [T]
where T: Eq,

Implementors§