[−][src]Struct rustfst::algorithms::compose::lookahead_matchers::LabelLookAheadMatcher
Trait Implementations
impl<W: Clone + Semiring, M: Clone + Matcher<W>, MFT: Clone> Clone for LabelLookAheadMatcher<W, M, MFT>
[src]
fn clone(&self) -> LabelLookAheadMatcher<W, M, MFT>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<W: Debug + Semiring, M: Debug + Matcher<W>, MFT: Debug> Debug for LabelLookAheadMatcher<W, M, MFT>
[src]
impl<W: Semiring + 'static, M: Matcher<W>, MFT: MatcherFlagsTrait> LookaheadMatcher<W> for LabelLookAheadMatcher<W, M, MFT>
[src]
type MatcherData = LabelReachableData
fn data(&self) -> Option<&Arc<Self::MatcherData>>
[src]
fn new_with_data(
fst: Arc<Self::F>,
match_type: MatchType,
data: Option<Arc<Self::MatcherData>>
) -> Result<Self>
[src]
fst: Arc<Self::F>,
match_type: MatchType,
data: Option<Arc<Self::MatcherData>>
) -> Result<Self>
fn create_data<F: ExpandedFst<W>>(
fst: &F,
match_type: MatchType
) -> Result<Option<Self::MatcherData>>
[src]
fst: &F,
match_type: MatchType
) -> Result<Option<Self::MatcherData>>
fn init_lookahead_fst<LF: ExpandedFst<W>>(
&mut self,
lfst: &Arc<LF>
) -> Result<()>
[src]
&mut self,
lfst: &Arc<LF>
) -> Result<()>
fn lookahead_fst<LF: ExpandedFst<W>>(
&self,
matcher_state: usize,
lfst: &Arc<LF>,
lfst_state: usize
) -> Result<Option<LookAheadMatcherData<W>>>
[src]
&self,
matcher_state: usize,
lfst: &Arc<LF>,
lfst_state: usize
) -> Result<Option<LookAheadMatcherData<W>>>
fn lookahead_label(&self, current_state: usize, label: usize) -> Result<bool>
[src]
fn lookahead_prefix(
&self,
tr: &mut Tr<W>,
la_matcher_data: &LookAheadMatcherData<W>
) -> bool
[src]
&self,
tr: &mut Tr<W>,
la_matcher_data: &LookAheadMatcherData<W>
) -> bool
impl<W: Semiring, M: Matcher<W>, MFT: MatcherFlagsTrait> Matcher<W> for LabelLookAheadMatcher<W, M, MFT>
[src]
type F = M::F
type Iter = M::Iter
fn new(fst: Arc<Self::F>, match_type: MatchType) -> Result<Self>
[src]
fn iter(&self, state: usize, label: usize) -> Result<Self::Iter>
[src]
fn final_weight(&self, state: usize) -> Result<Option<W>>
[src]
fn match_type(&self, test: bool) -> Result<MatchType>
[src]
fn flags(&self) -> MatcherFlags
[src]
fn priority(&self, state: usize) -> Result<usize>
[src]
fn fst(&self) -> &Arc<Self::F>
[src]
impl<W: PartialEq + Semiring, M: PartialEq + Matcher<W>, MFT: PartialEq> PartialEq<LabelLookAheadMatcher<W, M, MFT>> for LabelLookAheadMatcher<W, M, MFT>
[src]
fn eq(&self, other: &LabelLookAheadMatcher<W, M, MFT>) -> bool
[src]
fn ne(&self, other: &LabelLookAheadMatcher<W, M, MFT>) -> bool
[src]
impl<W: Semiring, M: Matcher<W>, MFT> StructuralPartialEq for LabelLookAheadMatcher<W, M, MFT>
[src]
Auto Trait Implementations
impl<W, M, MFT> RefUnwindSafe for LabelLookAheadMatcher<W, M, MFT> where
M: RefUnwindSafe,
MFT: RefUnwindSafe,
W: RefUnwindSafe,
M: RefUnwindSafe,
MFT: RefUnwindSafe,
W: RefUnwindSafe,
impl<W, M, MFT> Send for LabelLookAheadMatcher<W, M, MFT> where
M: Send,
MFT: Send,
W: Send,
M: Send,
MFT: Send,
W: Send,
impl<W, M, MFT> Sync for LabelLookAheadMatcher<W, M, MFT> where
M: Sync,
MFT: Sync,
M: Sync,
MFT: Sync,
impl<W, M, MFT> Unpin for LabelLookAheadMatcher<W, M, MFT> where
M: Unpin,
MFT: Unpin,
W: Unpin,
M: Unpin,
MFT: Unpin,
W: Unpin,
impl<W, M, MFT> UnwindSafe for LabelLookAheadMatcher<W, M, MFT> where
M: UnwindSafe,
MFT: UnwindSafe,
W: UnwindSafe,
M: UnwindSafe,
MFT: UnwindSafe,
W: 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>,