[][src]Struct rustfst::semirings::GallicWeightMin

pub struct GallicWeightMin<W>(_)
where
    W: Semiring
;

Product of StringWeightRestrict and an arbitrary weight.

Implementations

impl<W> GallicWeightMin<W> where
    W: Semiring
[src]

pub fn value1(&self) -> &StringWeightRestrict[src]

pub fn value2(&self) -> &W[src]

pub fn set_value1(&mut self, new_weight: StringWeightRestrict)[src]

pub fn set_value2(&mut self, new_weight: W)[src]

Trait Implementations

impl<W> AsRef<GallicWeightMin<W>> for GallicWeightMin<W> where
    W: Semiring
[src]

impl<W: Clone> Clone for GallicWeightMin<W> where
    W: Semiring
[src]

impl<W: Debug> Debug for GallicWeightMin<W> where
    W: Semiring
[src]

impl<W> Display for GallicWeightMin<W> where
    W: SerializableSemiring
[src]

impl<W: Eq> Eq for GallicWeightMin<W> where
    W: Semiring
[src]

impl<W: Semiring> FactorIterator<GallicWeightMin<W>> for GallicFactorMin<W>[src]

impl<W> From<(StringWeightRestrict, W)> for GallicWeightMin<W> where
    W: Semiring
[src]

impl<W> From<(Vec<usize>, W)> for GallicWeightMin<W> where
    W: Semiring
[src]

impl<W> From<(usize, W)> for GallicWeightMin<W> where
    W: Semiring
[src]

impl<W: Hash> Hash for GallicWeightMin<W> where
    W: Semiring
[src]

impl<W: PartialEq> PartialEq<GallicWeightMin<W>> for GallicWeightMin<W> where
    W: Semiring
[src]

impl<W: PartialOrd> PartialOrd<GallicWeightMin<W>> for GallicWeightMin<W> where
    W: Semiring
[src]

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

impl<W> Semiring for GallicWeightMin<W> where
    W: Semiring
[src]

type Type = ProductWeight<StringWeightRestrict, W>

type ReverseWeight = GallicWeightMin<W::ReverseWeight>

impl<W: SerializableSemiring> SerializableSemiring for GallicWeightMin<W>[src]

impl<W> StructuralEq for GallicWeightMin<W> where
    W: Semiring
[src]

impl<W> StructuralPartialEq for GallicWeightMin<W> where
    W: Semiring
[src]

impl<W> WeaklyDivisibleSemiring for GallicWeightMin<W> where
    W: WeaklyDivisibleSemiring
[src]

impl<W: Semiring> WeightConverter<GallicWeightMin<W>, W> for FromGallicConverter[src]

impl<W> WeightConverter<W, GallicWeightMin<W>> for ToGallicConverter where
    W: Semiring
[src]

impl<W> WeightQuantize for GallicWeightMin<W> where
    W: WeightQuantize
[src]

Auto Trait Implementations

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

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

impl<W> Sync for GallicWeightMin<W>

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

impl<W> UnwindSafe for GallicWeightMin<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> 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.