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.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.