Struct rustfst::algorithms::compose::compose_filters::MultiEpsFilter
source · pub struct MultiEpsFilter<W, F1, F2, B1, B2, M1, M2, CF>where
W: Semiring,
F1: Fst<W>,
F2: Fst<W>,
B1: Borrow<F1> + Debug,
B2: Borrow<F2> + Debug,
M1: Matcher<W, F1, B1>,
M2: Matcher<W, F2, B2>,
CF: ComposeFilter<W, F1, F2, B1, B2, M1, M2>,{ /* private fields */ }
Trait Implementations§
source§impl<W, F1, F2, B1, B2, M1, M2, CF> Clone for MultiEpsFilter<W, F1, F2, B1, B2, M1, M2, CF>
impl<W, F1, F2, B1, B2, M1, M2, CF> Clone for MultiEpsFilter<W, F1, F2, B1, B2, M1, M2, CF>
source§fn clone(&self) -> MultiEpsFilter<W, F1, F2, B1, B2, M1, M2, CF>
fn clone(&self) -> MultiEpsFilter<W, F1, F2, B1, B2, M1, M2, CF>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<W, F1, F2, B1, B2, M1, M2, CF> ComposeFilter<W, F1, F2, B1, B2, M1, M2> for MultiEpsFilter<W, F1, F2, B1, B2, M1, M2, CF>
impl<W, F1, F2, B1, B2, M1, M2, CF> ComposeFilter<W, F1, F2, B1, B2, M1, M2> for MultiEpsFilter<W, F1, F2, B1, B2, M1, M2, CF>
type FS = <CF as ComposeFilter<W, F1, F2, B1, B2, M1, M2>>::FS
fn start(&self) -> Self::FS
fn set_state( &mut self, s1: StateId, s2: StateId, filter_state: &Self::FS ) -> Result<()>
fn filter_tr(&mut self, arc1: &mut Tr<W>, arc2: &mut Tr<W>) -> Result<Self::FS>
fn filter_final(&self, w1: &mut W, w2: &mut W) -> Result<()>
fn matcher1(&self) -> &M1
fn matcher2(&self) -> &M2
fn properties(&self, inprops: FstProperties) -> FstProperties
source§impl<W, F1, F2, B1, B2, M1, M2, CF> Debug for MultiEpsFilter<W, F1, F2, B1, B2, M1, M2, CF>
impl<W, F1, F2, B1, B2, M1, M2, CF> Debug for MultiEpsFilter<W, F1, F2, B1, B2, M1, M2, CF>
Auto Trait Implementations§
impl<W, F1, F2, B1, B2, M1, M2, CF> Freeze for MultiEpsFilter<W, F1, F2, B1, B2, M1, M2, CF>where
CF: Freeze,
impl<W, F1, F2, B1, B2, M1, M2, CF> RefUnwindSafe for MultiEpsFilter<W, F1, F2, B1, B2, M1, M2, CF>where
CF: RefUnwindSafe,
W: RefUnwindSafe,
F1: RefUnwindSafe,
F2: RefUnwindSafe,
B1: RefUnwindSafe,
B2: RefUnwindSafe,
M1: RefUnwindSafe,
M2: RefUnwindSafe,
impl<W, F1, F2, B1, B2, M1, M2, CF> Send for MultiEpsFilter<W, F1, F2, B1, B2, M1, M2, CF>
impl<W, F1, F2, B1, B2, M1, M2, CF> Sync for MultiEpsFilter<W, F1, F2, B1, B2, M1, M2, CF>
impl<W, F1, F2, B1, B2, M1, M2, CF> Unpin for MultiEpsFilter<W, F1, F2, B1, B2, M1, M2, CF>
impl<W, F1, F2, B1, B2, M1, M2, CF> UnwindSafe for MultiEpsFilter<W, F1, F2, B1, B2, M1, M2, CF>where
CF: UnwindSafe,
W: UnwindSafe,
F1: UnwindSafe,
F2: UnwindSafe,
B1: UnwindSafe,
B2: UnwindSafe,
M1: UnwindSafe,
M2: UnwindSafe,
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more