pub struct SmartReducer<Net, Red, PostPlace, PostTransition>(/* private fields */)
where
Red: Reduce<Net>,
PostPlace: PlaceReduce<Net>,
PostTransition: TransitionReduce<Net>;Expand description
Execute a reduction, then on each transition and place modified we execute the actions
PostPlace and PostTransition on each of the modifications
Trait Implementations§
Source§impl<Net, Red, PostPlace, PostTransition> Reduce<Net> for SmartReducer<Net, Red, PostPlace, PostTransition>
impl<Net, Red, PostPlace, PostTransition> Reduce<Net> for SmartReducer<Net, Red, PostPlace, PostTransition>
impl<Net, Red, PostPlace, PostTransition> ConservativeReduce<Net> for SmartReducer<Net, Red, PostPlace, PostTransition>where
Red: ConservativeReduce<Net>,
PostPlace: PlaceReduce<Net> + ConservativeReduce<Net>,
PostTransition: TransitionReduce<Net> + ConservativeReduce<Net>,
Auto Trait Implementations§
impl<Net, Red, PostPlace, PostTransition> Freeze for SmartReducer<Net, Red, PostPlace, PostTransition>
impl<Net, Red, PostPlace, PostTransition> RefUnwindSafe for SmartReducer<Net, Red, PostPlace, PostTransition>where
Net: RefUnwindSafe,
Red: RefUnwindSafe,
PostPlace: RefUnwindSafe,
PostTransition: RefUnwindSafe,
impl<Net, Red, PostPlace, PostTransition> Send for SmartReducer<Net, Red, PostPlace, PostTransition>
impl<Net, Red, PostPlace, PostTransition> Sync for SmartReducer<Net, Red, PostPlace, PostTransition>
impl<Net, Red, PostPlace, PostTransition> Unpin for SmartReducer<Net, Red, PostPlace, PostTransition>
impl<Net, Red, PostPlace, PostTransition> UnwindSafe for SmartReducer<Net, Red, PostPlace, PostTransition>
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