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

Returns a mutable reference to the internal state of the filter.

Returns a mutable reference to the internal state of the filter.

Implementors