pub struct ValidVotePlanGenerator {
parameters: ValidVotePlanParameters,
}
Fields§
§parameters: ValidVotePlanParameters
Implementations§
source§impl ValidVotePlanGenerator
impl ValidVotePlanGenerator
pub fn new(parameters: ValidVotePlanParameters) -> Self
fn convert_to_vote_plan(single_vote_plan: &SingleVotePlanParameters) -> VotePlan
pub fn build( &mut self, template_generator: &mut dyn ValidVotingTemplateGenerator ) -> Snapshot
Auto Trait Implementations§
impl RefUnwindSafe for ValidVotePlanGenerator
impl Send for ValidVotePlanGenerator
impl Sync for ValidVotePlanGenerator
impl Unpin for ValidVotePlanGenerator
impl UnwindSafe for ValidVotePlanGenerator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more