[][src]Struct rustfst::algorithms::compose::lookahead_matchers::LookAheadMatcherData

pub struct LookAheadMatcherData<W: Semiring> {
    pub lookahead_weight: W,
    pub prefix_tr: Tr<W>,
}

Fields

lookahead_weight: Wprefix_tr: Tr<W>

Implementations

impl<W: Semiring> LookAheadMatcherData<W>[src]

pub fn new(lookahead_weight: W, prefix_tr: Tr<W>) -> Self[src]

pub fn clear_lookahead_weight(&mut self)[src]

pub fn set_lookahead_weight(&mut self, weight: W)[src]

pub fn clear_lookahead_prefix(&mut self)[src]

pub fn set_lookahead_prefix(&mut self, tr: Tr<W>)[src]

pub fn default_lookahead_prefix(&self, tr: &mut Tr<W>) -> bool[src]

Trait Implementations

impl<W: Clone + Semiring> Clone for LookAheadMatcherData<W>[src]

impl<W: Debug + Semiring> Debug for LookAheadMatcherData<W>[src]

impl<W: Semiring> Default for LookAheadMatcherData<W>[src]

Auto Trait Implementations

impl<W> RefUnwindSafe for LookAheadMatcherData<W> where
    W: RefUnwindSafe

impl<W> Send for LookAheadMatcherData<W> where
    W: Send

impl<W> Sync for LookAheadMatcherData<W>

impl<W> Unpin for LookAheadMatcherData<W> where
    W: Unpin

impl<W> UnwindSafe for LookAheadMatcherData<W> where
    W: UnwindSafe

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.