pub struct LookAheadComposeFilterBuilder<W, F1, F2, B1, B2, M1, M2, CFB, SMT>where
W: Semiring,
F1: Fst<W>,
F2: Fst<W>,
B1: Borrow<F1> + Debug,
B2: Borrow<F2> + Debug,
M1: LookaheadMatcher<W, F1, B1>,
M2: LookaheadMatcher<W, F2, B2>,
CFB: ComposeFilterBuilder<W, F1, F2, B1, B2, M1, M2>,
CFB::CF: LookAheadComposeFilterTrait<W, F1, F2, B1, B2, M1, M2>,
SMT: MatchTypeTrait,{ /* private fields */ }
Trait Implementations§
source§impl<W, F1, F2, B1, B2, M1, M2, CFB, SMT> Clone for LookAheadComposeFilterBuilder<W, F1, F2, B1, B2, M1, M2, CFB, SMT>where
W: Semiring,
F1: Fst<W>,
F2: Fst<W>,
B1: Borrow<F1> + Debug,
B2: Borrow<F2> + Debug,
M1: LookaheadMatcher<W, F1, B1>,
M2: LookaheadMatcher<W, F2, B2>,
CFB: ComposeFilterBuilder<W, F1, F2, B1, B2, M1, M2>,
CFB::CF: LookAheadComposeFilterTrait<W, F1, F2, B1, B2, M1, M2>,
SMT: MatchTypeTrait,
impl<W, F1, F2, B1, B2, M1, M2, CFB, SMT> Clone for LookAheadComposeFilterBuilder<W, F1, F2, B1, B2, M1, M2, CFB, SMT>where
W: Semiring,
F1: Fst<W>,
F2: Fst<W>,
B1: Borrow<F1> + Debug,
B2: Borrow<F2> + Debug,
M1: LookaheadMatcher<W, F1, B1>,
M2: LookaheadMatcher<W, F2, B2>,
CFB: ComposeFilterBuilder<W, F1, F2, B1, B2, M1, M2>,
CFB::CF: LookAheadComposeFilterTrait<W, F1, F2, B1, B2, M1, M2>,
SMT: MatchTypeTrait,
source§impl<W, F1, F2, B1, B2, M1, M2, CFB, SMT> ComposeFilterBuilder<W, F1, F2, B1, B2, M1, M2> for LookAheadComposeFilterBuilder<W, F1, F2, B1, B2, M1, M2, CFB, SMT>where
W: Semiring,
F1: Fst<W>,
F2: Fst<W>,
B1: Borrow<F1> + Debug + Clone,
B2: Borrow<F2> + Debug + Clone,
M1: LookaheadMatcher<W, F1, B1>,
M2: LookaheadMatcher<W, F2, B2>,
CFB: ComposeFilterBuilder<W, F1, F2, B1, B2, M1, M2>,
CFB::CF: LookAheadComposeFilterTrait<W, F1, F2, B1, B2, M1, M2>,
SMT: MatchTypeTrait,
LookAheadComposeFilter<W, F1, F2, B1, B2, M1, M2, CFB::CF, SMT>: ComposeFilter<W, F1, F2, B1, B2, M1, M2>,
impl<W, F1, F2, B1, B2, M1, M2, CFB, SMT> ComposeFilterBuilder<W, F1, F2, B1, B2, M1, M2> for LookAheadComposeFilterBuilder<W, F1, F2, B1, B2, M1, M2, CFB, SMT>where
W: Semiring,
F1: Fst<W>,
F2: Fst<W>,
B1: Borrow<F1> + Debug + Clone,
B2: Borrow<F2> + Debug + Clone,
M1: LookaheadMatcher<W, F1, B1>,
M2: LookaheadMatcher<W, F2, B2>,
CFB: ComposeFilterBuilder<W, F1, F2, B1, B2, M1, M2>,
CFB::CF: LookAheadComposeFilterTrait<W, F1, F2, B1, B2, M1, M2>,
SMT: MatchTypeTrait,
LookAheadComposeFilter<W, F1, F2, B1, B2, M1, M2, CFB::CF, SMT>: ComposeFilter<W, F1, F2, B1, B2, M1, M2>,
type IM1 = M1
type IM2 = M2
type CF = LookAheadComposeFilter<W, F1, F2, B1, B2, M1, M2, <CFB as ComposeFilterBuilder<W, F1, F2, B1, B2, M1, M2>>::CF, SMT>
fn new(
fst1: B1,
fst2: B2,
matcher1: Option<M1>,
matcher2: Option<M2>
) -> Result<Self>where
Self: Sized,
fn build(&self) -> Result<Self::CF>
source§impl<W, F1, F2, B1, B2, M1, M2, CFB, SMT> Debug for LookAheadComposeFilterBuilder<W, F1, F2, B1, B2, M1, M2, CFB, SMT>where
W: Semiring + Debug,
F1: Fst<W> + Debug,
F2: Fst<W> + Debug,
B1: Borrow<F1> + Debug + Debug,
B2: Borrow<F2> + Debug + Debug,
M1: LookaheadMatcher<W, F1, B1> + Debug,
M2: LookaheadMatcher<W, F2, B2> + Debug,
CFB: ComposeFilterBuilder<W, F1, F2, B1, B2, M1, M2> + Debug,
CFB::CF: LookAheadComposeFilterTrait<W, F1, F2, B1, B2, M1, M2>,
SMT: MatchTypeTrait + Debug,
impl<W, F1, F2, B1, B2, M1, M2, CFB, SMT> Debug for LookAheadComposeFilterBuilder<W, F1, F2, B1, B2, M1, M2, CFB, SMT>where
W: Semiring + Debug,
F1: Fst<W> + Debug,
F2: Fst<W> + Debug,
B1: Borrow<F1> + Debug + Debug,
B2: Borrow<F2> + Debug + Debug,
M1: LookaheadMatcher<W, F1, B1> + Debug,
M2: LookaheadMatcher<W, F2, B2> + Debug,
CFB: ComposeFilterBuilder<W, F1, F2, B1, B2, M1, M2> + Debug,
CFB::CF: LookAheadComposeFilterTrait<W, F1, F2, B1, B2, M1, M2>,
SMT: MatchTypeTrait + Debug,
Auto Trait Implementations§
impl<W, F1, F2, B1, B2, M1, M2, CFB, SMT> Freeze for LookAheadComposeFilterBuilder<W, F1, F2, B1, B2, M1, M2, CFB, SMT>where
CFB: Freeze,
impl<W, F1, F2, B1, B2, M1, M2, CFB, SMT> RefUnwindSafe for LookAheadComposeFilterBuilder<W, F1, F2, B1, B2, M1, M2, CFB, SMT>where
CFB: RefUnwindSafe,
W: RefUnwindSafe,
F1: RefUnwindSafe,
F2: RefUnwindSafe,
B1: RefUnwindSafe,
B2: RefUnwindSafe,
M1: RefUnwindSafe,
M2: RefUnwindSafe,
SMT: RefUnwindSafe,
impl<W, F1, F2, B1, B2, M1, M2, CFB, SMT> Send for LookAheadComposeFilterBuilder<W, F1, F2, B1, B2, M1, M2, CFB, SMT>
impl<W, F1, F2, B1, B2, M1, M2, CFB, SMT> Sync for LookAheadComposeFilterBuilder<W, F1, F2, B1, B2, M1, M2, CFB, SMT>
impl<W, F1, F2, B1, B2, M1, M2, CFB, SMT> Unpin for LookAheadComposeFilterBuilder<W, F1, F2, B1, B2, M1, M2, CFB, SMT>
impl<W, F1, F2, B1, B2, M1, M2, CFB, SMT> UnwindSafe for LookAheadComposeFilterBuilder<W, F1, F2, B1, B2, M1, M2, CFB, SMT>where
CFB: UnwindSafe,
W: UnwindSafe,
F1: UnwindSafe,
F2: UnwindSafe,
B1: UnwindSafe,
B2: UnwindSafe,
M1: UnwindSafe,
M2: UnwindSafe,
SMT: 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