pub struct GenericSharedSequenceHandler<FCond, FCom>{ /* private fields */ }Expand description
Generic handler for the SuitSharedSequence structure.
NOTE: If you want a more customizable behaviour, you should implement your own SuitSharedSequenceHandler trait directly and specify behaviour with inspection.
on_cond: Handling function applied to each of the SuitCondition.on_com: Handling function applied to each of the SuitSharedCommand.
Trait Implementations§
fn on_conditions<'a>( &mut self, conditions: impl Iterator<Item = PairView<'a, SuitCondition>>, ) -> Result<(), SuitError>
fn on_commands<'a>( &mut self, customs: impl Iterator<Item = PairView<'a, SuitSharedCommand<'a>>>, ) -> Result<(), SuitError>
Auto Trait Implementations§
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