[][src]Struct rustfst::semirings::StringWeightRestrict

pub struct StringWeightRestrict { /* fields omitted */ }

String semiring: (identity, ., Infinity, Epsilon)

Implementations

impl StringWeightRestrict[src]

pub fn len_labels(&self) -> usize[src]

pub fn iter(&self) -> impl Iterator<Item = StringWeightVariant> + '_[src]

Trait Implementations

impl AsRef<StringWeightRestrict> for StringWeightRestrict[src]

impl Clone for StringWeightRestrict[src]

impl Debug for StringWeightRestrict[src]

impl Display for StringWeightRestrict[src]

impl Eq for StringWeightRestrict[src]

impl FactorIterator<StringWeightRestrict> for StringFactorRestrict[src]

impl From<Vec<usize>> for StringWeightRestrict[src]

impl From<usize> for StringWeightRestrict[src]

impl Hash for StringWeightRestrict[src]

impl PartialEq<StringWeightRestrict> for StringWeightRestrict[src]

impl PartialOrd<StringWeightRestrict> for StringWeightRestrict[src]

impl ReverseBack<StringWeightRestrict> for <StringWeightRestrict as Semiring>::ReverseWeight[src]

impl Semiring for StringWeightRestrict[src]

type Type = StringWeightVariant

type ReverseWeight = StringWeightRestrict

impl SerializableSemiring for StringWeightRestrict[src]

impl StructuralEq for StringWeightRestrict[src]

impl StructuralPartialEq for StringWeightRestrict[src]

impl WeaklyDivisibleSemiring for StringWeightRestrict[src]

impl WeightQuantize for StringWeightRestrict[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> ToString for T where
    T: Display + ?Sized
[src]

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.