pub struct StatefulFunctionAutomaton<S> { /* private fields */ }Expand description
Functional automaton with state
Implementations§
Trait Implementations§
Source§impl<S: Debug + Send + Sync + Clone + 'static> Automaton for StatefulFunctionAutomaton<S>
impl<S: Debug + Send + Sync + Clone + 'static> Automaton for StatefulFunctionAutomaton<S>
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).
Source§impl<S: Clone> Clone for StatefulFunctionAutomaton<S>
impl<S: Clone> Clone for StatefulFunctionAutomaton<S>
Source§fn clone(&self) -> StatefulFunctionAutomaton<S>
fn clone(&self) -> StatefulFunctionAutomaton<S>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<S> Freeze for StatefulFunctionAutomaton<S>where
S: Freeze,
impl<S> !RefUnwindSafe for StatefulFunctionAutomaton<S>
impl<S> Send for StatefulFunctionAutomaton<S>where
S: Send,
impl<S> Sync for StatefulFunctionAutomaton<S>where
S: Sync,
impl<S> Unpin for StatefulFunctionAutomaton<S>where
S: Unpin,
impl<S> UnsafeUnpin for StatefulFunctionAutomaton<S>where
S: UnsafeUnpin,
impl<S> !UnwindSafe for StatefulFunctionAutomaton<S>
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