[−][src]Struct rustfst::algorithms::compose::LabelReachable
Implementations
impl LabelReachable
[src]
pub fn new<W: Semiring, F: Fst<W>>(fst: &F, reach_input: bool) -> Result<Self>
[src]
pub fn compute_data<W: Semiring, F: Fst<W>>(
fst: &F,
reach_input: bool
) -> Result<LabelReachableData>
[src]
fst: &F,
reach_input: bool
) -> Result<LabelReachableData>
pub fn new_from_data(data: Arc<LabelReachableData>) -> Self
[src]
pub fn data(&self) -> &Arc<LabelReachableData>
[src]
pub fn reach_input(&self) -> bool
[src]
pub fn reach_init<W: Semiring, F: ExpandedFst<W>>(
&mut self,
fst: &Arc<F>,
reach_input: bool
) -> Result<()>
[src]
&mut self,
fst: &Arc<F>,
reach_input: bool
) -> Result<()>
pub fn reach_label(&self, current_state: StateId, label: Label) -> Result<bool>
[src]
pub fn reach_final(&self, current_state: StateId) -> Result<bool>
[src]
pub fn reach<'a, W: Semiring + 'a, T: Trs<W>>(
&self,
current_state: StateId,
trs: T,
aiter_begin: usize,
aiter_end: usize,
compute_weight: bool
) -> Result<Option<(usize, usize, W)>>
[src]
&self,
current_state: StateId,
trs: T,
aiter_begin: usize,
aiter_end: usize,
compute_weight: bool
) -> Result<Option<(usize, usize, W)>>
Trait Implementations
impl Clone for LabelReachable
[src]
fn clone(&self) -> LabelReachable
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for LabelReachable
[src]
impl PartialEq<LabelReachable> for LabelReachable
[src]
fn eq(&self, other: &LabelReachable) -> bool
[src]
fn ne(&self, other: &LabelReachable) -> bool
[src]
impl StructuralPartialEq for LabelReachable
[src]
Auto Trait Implementations
impl RefUnwindSafe for LabelReachable
impl Send for LabelReachable
impl Sync for LabelReachable
impl Unpin for LabelReachable
impl UnwindSafe for LabelReachable
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>,