[−][src]Struct rustfst::algorithms::compose::lookahead_matchers::TrivialLookAheadMatcher
Trait Implementations
impl<W: Clone, M: Clone> Clone for TrivialLookAheadMatcher<W, M>
[src]
fn clone(&self) -> TrivialLookAheadMatcher<W, M>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<W: Debug, M: Debug> Debug for TrivialLookAheadMatcher<W, M>
[src]
impl<W: Semiring, M: Matcher<W>> LookaheadMatcher<W> for TrivialLookAheadMatcher<W, M>
[src]
type MatcherData = ()
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: Fst<W>>(
&self,
_matcher_state: StateId,
_lfst: &Arc<LF>,
_s: StateId
) -> Result<Option<LookAheadMatcherData<W>>>
[src]
&self,
_matcher_state: StateId,
_lfst: &Arc<LF>,
_s: StateId
) -> Result<Option<LookAheadMatcherData<W>>>
fn lookahead_label(&self, _state: StateId, _label: Label) -> 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>> Matcher<W> for TrivialLookAheadMatcher<W, M>
[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]
Auto Trait Implementations
impl<W, M> RefUnwindSafe for TrivialLookAheadMatcher<W, M> where
M: RefUnwindSafe,
W: RefUnwindSafe,
M: RefUnwindSafe,
W: RefUnwindSafe,
impl<W, M> Send for TrivialLookAheadMatcher<W, M> where
M: Send,
W: Send,
M: Send,
W: Send,
impl<W, M> Sync for TrivialLookAheadMatcher<W, M> where
M: Sync,
W: Sync,
M: Sync,
W: Sync,
impl<W, M> Unpin for TrivialLookAheadMatcher<W, M> where
M: Unpin,
W: Unpin,
M: Unpin,
W: Unpin,
impl<W, M> UnwindSafe for TrivialLookAheadMatcher<W, M> where
M: UnwindSafe,
W: UnwindSafe,
M: 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>,