pub trait GetMaxVoters {
type Class;
// Required method
fn get_max_voters(c: Self::Class) -> MemberIndex;
}
Expand description
Trait for getting the maximum number of voters for a given poll class.
Required Associated Types§
Required Methods§
sourcefn get_max_voters(c: Self::Class) -> MemberIndex
fn get_max_voters(c: Self::Class) -> MemberIndex
Return the maximum number of voters for the poll class c
.