[][src]Struct rustfst::algorithms::compose::LabelReachable

pub struct LabelReachable { /* fields omitted */ }

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]

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]

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]

Trait Implementations

impl Clone for LabelReachable[src]

impl Debug for LabelReachable[src]

impl PartialEq<LabelReachable> for LabelReachable[src]

impl StructuralPartialEq for LabelReachable[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.