[−][src]Trait sunshine_util::traits::Apply
Defines how Vote
s are applied to the VoteState
Defines how Vote
s are applied to the VoteState
fn apply(&self, vote: Vote) -> Self
impl<Hash: Clone, BlockNumber: Clone> Apply<PetitionView<Hash>> for PetitionState<Hash, BlockNumber>
[src]fn apply(&self, vote: PetitionView<Hash>) -> PetitionState<Hash, BlockNumber>
[src]impl<Signal: Parameter + Copy + From<u32> + Default + Add<Output = Signal> + Sub<Output = Signal>, Hash: Clone, FineArithmetic: PerThing + Default, BlockNumber: Parameter + Copy + Default> Apply<YesNoVote<Signal, Hash>> for VoteState<Signal, FineArithmetic, BlockNumber>
[src]