pub struct IdentityReducer {}Expand description
Identity reducer does nothing on the network
This reduction exists only to be able to easily test reduction chains or replace required parameters in others.
Trait Implementations§
Source§impl<Net> PlaceReduce<Net> for IdentityReducer
impl<Net> PlaceReduce<Net> for IdentityReducer
Source§fn place_reduce(_: &mut Net, _: PlaceId, _: &mut Vec<Modification>)
fn place_reduce(_: &mut Net, _: PlaceId, _: &mut Vec<Modification>)
Try to apply a reduction rule on a specific place
Source§impl<Net> Reduce<Net> for IdentityReducer
impl<Net> Reduce<Net> for IdentityReducer
Source§impl<Net> TransitionReduce<Net> for IdentityReducer
impl<Net> TransitionReduce<Net> for IdentityReducer
Source§fn transition_reduce(_: &mut Net, _: TransitionId, _: &mut Vec<Modification>)
fn transition_reduce(_: &mut Net, _: TransitionId, _: &mut Vec<Modification>)
Try to apply a reduction rule on a specific place
impl<Net> ConservativeReduce<Net> for IdentityReducer
Auto Trait Implementations§
impl Freeze for IdentityReducer
impl RefUnwindSafe for IdentityReducer
impl Send for IdentityReducer
impl Sync for IdentityReducer
impl Unpin for IdentityReducer
impl UnwindSafe for IdentityReducer
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