pub struct NoAction;Expand description
A unit action for automatons that need no external action per step.
Also implements Automaton as a no-op — useful for mapping-only servos
where the automaton output is irrelevant.
Trait Implementations§
Source§impl Automaton for NoAction
impl Automaton for NoAction
Source§fn step(
&self,
_internal: &mut Self::Internal,
_current: &ParamValue,
_time: Time,
_action: &Self::Action,
) -> ParamValue
fn step( &self, _internal: &mut Self::Internal, _current: &ParamValue, _time: Time, _action: &Self::Action, ) -> ParamValue
Advances the automaton by one step, producing a new output value. Read more
Source§fn initial_internal(&self) -> Self::Internal
fn initial_internal(&self) -> Self::Internal
Returns the automaton’s initial internal state (at time zero).
Auto Trait Implementations§
impl Freeze for NoAction
impl RefUnwindSafe for NoAction
impl Send for NoAction
impl Sync for NoAction
impl Unpin for NoAction
impl UnsafeUnpin for NoAction
impl UnwindSafe for NoAction
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