[−][src]Struct rustfst::algorithms::compose::lookahead_filters::PushWeightsComposeFilter
Trait Implementations
impl<W: Clone + Semiring, CF: Clone + LookAheadComposeFilterTrait<W>, SMT: Clone> Clone for PushWeightsComposeFilter<W, CF, SMT> where
CF::M1: LookaheadMatcher<W>,
CF::M2: LookaheadMatcher<W>,
CF::FS: Clone,
[src]
CF::M1: LookaheadMatcher<W>,
CF::M2: LookaheadMatcher<W>,
CF::FS: Clone,
fn clone(&self) -> PushWeightsComposeFilter<W, CF, SMT>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<W: Semiring + WeaklyDivisibleSemiring + WeightQuantize, CF: LookAheadComposeFilterTrait<W>, SMT: MatchTypeTrait> ComposeFilter<W> for PushWeightsComposeFilter<W, CF, SMT> where
CF::M1: LookaheadMatcher<W>,
CF::M2: LookaheadMatcher<W>,
[src]
CF::M1: LookaheadMatcher<W>,
CF::M2: LookaheadMatcher<W>,
type M1 = CF::M1
type M2 = CF::M2
type FS = PairFilterState<CF::FS, WeightFilterState<W>>
fn start(&self) -> Self::FS
[src]
fn set_state(
&mut self,
s1: usize,
s2: usize,
filter_state: &Self::FS
) -> Result<()>
[src]
&mut self,
s1: usize,
s2: usize,
filter_state: &Self::FS
) -> Result<()>
fn filter_tr(&mut self, arc1: &mut Tr<W>, arc2: &mut Tr<W>) -> Result<Self::FS>
[src]
fn filter_final(&self, w1: &mut W, w2: &mut W) -> Result<()>
[src]
fn matcher1(&self) -> &Self::M1
[src]
fn matcher2(&self) -> &Self::M2
[src]
fn matcher1_shared(&self) -> &Arc<Self::M1>
[src]
fn matcher2_shared(&self) -> &Arc<Self::M2>
[src]
fn properties(&self, inprops: FstProperties) -> FstProperties
[src]
fn fst1(&self) -> &Arc<<Self::M1 as Matcher<W>>::F>
[src]
fn fst2(&self) -> &Arc<<Self::M2 as Matcher<W>>::F>
[src]
impl<W: Debug + Semiring, CF: Debug + LookAheadComposeFilterTrait<W>, SMT: Debug> Debug for PushWeightsComposeFilter<W, CF, SMT> where
CF::M1: LookaheadMatcher<W>,
CF::M2: LookaheadMatcher<W>,
CF::FS: Debug,
[src]
CF::M1: LookaheadMatcher<W>,
CF::M2: LookaheadMatcher<W>,
CF::FS: Debug,
impl<W: Semiring + WeaklyDivisibleSemiring + WeightQuantize, CF: LookAheadComposeFilterTrait<W>, SMT: MatchTypeTrait> LookAheadComposeFilterTrait<W> for PushWeightsComposeFilter<W, CF, SMT> where
CF::M1: LookaheadMatcher<W>,
CF::M2: LookaheadMatcher<W>,
[src]
CF::M1: LookaheadMatcher<W>,
CF::M2: LookaheadMatcher<W>,
fn lookahead_flags(&self) -> MatcherFlags
[src]
fn lookahead_tr(&self) -> bool
[src]
fn lookahead_type(&self) -> MatchType
[src]
fn lookahead_output(&self) -> bool
[src]
fn selector(&self) -> &Selector
[src]
fn lookahead_matcher_data(&self) -> Option<&LookAheadMatcherData<W>>
[src]
Auto Trait Implementations
impl<W, CF, SMT> RefUnwindSafe for PushWeightsComposeFilter<W, CF, SMT> where
CF: RefUnwindSafe,
SMT: RefUnwindSafe,
W: RefUnwindSafe,
<CF as ComposeFilter<W>>::FS: RefUnwindSafe,
CF: RefUnwindSafe,
SMT: RefUnwindSafe,
W: RefUnwindSafe,
<CF as ComposeFilter<W>>::FS: RefUnwindSafe,
impl<W, CF, SMT> Send for PushWeightsComposeFilter<W, CF, SMT> where
CF: Send,
SMT: Send,
W: Send,
<CF as ComposeFilter<W>>::FS: Send,
CF: Send,
SMT: Send,
W: Send,
<CF as ComposeFilter<W>>::FS: Send,
impl<W, CF, SMT> Sync for PushWeightsComposeFilter<W, CF, SMT> where
CF: Sync,
SMT: Sync,
<CF as ComposeFilter<W>>::FS: Sync,
CF: Sync,
SMT: Sync,
<CF as ComposeFilter<W>>::FS: Sync,
impl<W, CF, SMT> Unpin for PushWeightsComposeFilter<W, CF, SMT> where
CF: Unpin,
SMT: Unpin,
W: Unpin,
<CF as ComposeFilter<W>>::FS: Unpin,
CF: Unpin,
SMT: Unpin,
W: Unpin,
<CF as ComposeFilter<W>>::FS: Unpin,
impl<W, CF, SMT> UnwindSafe for PushWeightsComposeFilter<W, CF, SMT> where
CF: UnwindSafe,
SMT: UnwindSafe,
W: UnwindSafe,
<CF as ComposeFilter<W>>::FS: UnwindSafe,
CF: UnwindSafe,
SMT: UnwindSafe,
W: UnwindSafe,
<CF as ComposeFilter<W>>::FS: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,