Trait rustfst::algorithms::compose::filter_states::FilterState
source · pub trait FilterState: PartialEq + Clone + Eq + Hash + Debug {
type Type;
// Required methods
fn new(value: Self::Type) -> Self;
fn new_no_state() -> Self;
fn state(&self) -> &Self::Type;
}
Expand description
The filter state interface represents the state of a (e.g., composition) filter.
Required Associated Types§
Required Methods§
fn new(value: Self::Type) -> Self
fn new_no_state() -> Self
fn state(&self) -> &Self::Type
Object Safety§
This trait is not object safe.