[−][src]Enum rustfst::algorithms::MapFinalAction
Determines how final weights are mapped.
Variants
A final weight is mapped into a final weight. An error is raised if this is not possible.
A final weight is mapped to a transition to the superfinal state when the result cannot be represented as a final weight. The superfinal state will be added only if it is needed.
A final weight is mapped to a transition to the superfinal state unless the result can be represented as a final weight of weight Zero(). The superfinal state is always added (if the input is not the empty FST).
Trait Implementations
impl PartialEq<MapFinalAction> for MapFinalAction
[src]
fn eq(&self, other: &MapFinalAction) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralPartialEq for MapFinalAction
[src]
Auto Trait Implementations
impl RefUnwindSafe for MapFinalAction
impl Send for MapFinalAction
impl Sync for MapFinalAction
impl Unpin for MapFinalAction
impl UnwindSafe for MapFinalAction
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, 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>,