pub trait VoteTally<Votes, Class> {
    // Required methods
    fn new(_: Class) -> Self;
    fn ayes(&self, class: Class) -> Votes;
    fn support(&self, class: Class) -> Perbill;
    fn approval(&self, class: Class) -> Perbill;
}

Required Methods§

source

fn new(_: Class) -> Self

source

fn ayes(&self, class: Class) -> Votes

source

fn support(&self, class: Class) -> Perbill

source

fn approval(&self, class: Class) -> Perbill

Implementors§