Trait actions::Merge

source ·
pub trait Mergewhere
    Self: Sized,
{ fn merge(&self, previous: &Self) -> MergeResult<Self>; }
Expand description

Trait that enables actions to merge actions.

Required Methods

Merge two actions. Caution! The order of actions matters! The previous action is executed first, then &self.

Arguments

previous: The previous action.

Implementors