Trait signalo_filters::traits::StatefulUnsafe [−][src]
pub unsafe trait StatefulUnsafe: Stateful { unsafe fn state(&self) -> &Self::State; unsafe fn state_mut(&mut self) -> &mut Self::State; }
Unsafe trait for accessing the state of stateful systems.
Background:
Stateful systems can react to the same input differently depending on the current state.
Required Methods
unsafe fn state(&self) -> &Self::State
Returns a mutable reference to the internal state of the filter.
unsafe fn state_mut(&mut self) -> &mut Self::State
Returns a mutable reference to the internal state of the filter.
Implementors
impl<T> StatefulUnsafe for Differentiate<T>
impl<T, U> StatefulUnsafe for Debounce<T, U>
impl<T, U> StatefulUnsafe for Schmitt<T, U>
impl<T, U> StatefulUnsafe for Peaks<T, U>
impl<T, U> StatefulUnsafe for Slopes<T, U>
impl<T, A> StatefulUnsafe for Convolve<A> where
T: Copy,
A: Array<Item = T>,impl<T> StatefulUnsafe for signalo_filters::filter::mean::exp::Mean<T>
impl<T> StatefulUnsafe for signalo_filters::filter::mean::exp::MeanVariance<T>
impl<T, A> StatefulUnsafe for signalo_filters::filter::mean::Mean<A> where
T: Clone,
A: Array<Item = T>,impl<T, A> StatefulUnsafe for signalo_filters::filter::mean::MeanVariance<A> where
T: Clone,
A: Array<Item = T>,impl<T> StatefulUnsafe for AlphaBeta<T>
impl<T> StatefulUnsafe for Kalman<T>