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§

source

fn new(value: Self::Type) -> Self

source

fn new_no_state() -> Self

source

fn state(&self) -> &Self::Type

Object Safety§

This trait is not object safe.

Implementors§