[−][src]Struct rustfst::algorithms::compose::matchers::MultiEpsMatcher
Implementations
impl<W: Semiring, M: Matcher<W>> MultiEpsMatcher<W, M>
[src]
pub fn new_with_opts<IM: Into<Option<Arc<M>>>>(
fst: Arc<Self::F>,
match_type: MatchType,
flags: MultiEpsMatcherFlags,
matcher: IM
) -> Result<Self>
[src]
fst: Arc<Self::F>,
match_type: MatchType,
flags: MultiEpsMatcherFlags,
matcher: IM
) -> Result<Self>
pub fn matcher(&self) -> &Arc<M>
[src]
pub fn clear_multi_eps_labels(&mut self)
[src]
pub fn add_multi_eps_label(&mut self, label: Label) -> Result<()>
[src]
pub fn remove_multi_eps_label(&mut self, label: Label) -> Result<()>
[src]
Trait Implementations
impl<W: Clone, M: Clone> Clone for MultiEpsMatcher<W, M>
[src]
fn clone(&self) -> MultiEpsMatcher<W, M>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<W: Debug, M: Debug> Debug for MultiEpsMatcher<W, M>
[src]
impl<W: Semiring, M: Matcher<W>> Matcher<W> for MultiEpsMatcher<W, M>
[src]
type F = M::F
type Iter = IteratorMultiEpsMatcher<W, M>
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 MultiEpsMatcher<W, M> where
M: RefUnwindSafe,
W: RefUnwindSafe,
M: RefUnwindSafe,
W: RefUnwindSafe,
impl<W, M> Send for MultiEpsMatcher<W, M> where
M: Send + Sync,
W: Send,
M: Send + Sync,
W: Send,
impl<W, M> Sync for MultiEpsMatcher<W, M> where
M: Send + Sync,
W: Sync,
M: Send + Sync,
W: Sync,
impl<W, M> Unpin for MultiEpsMatcher<W, M> where
W: Unpin,
W: Unpin,
impl<W, M> UnwindSafe for MultiEpsMatcher<W, M> where
M: RefUnwindSafe,
W: UnwindSafe,
M: RefUnwindSafe,
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>,