[−][src]Struct rustfst::semirings::TropicalWeight
Tropical semiring: (min, +, inf, 0).
Trait Implementations
impl AsRef<TropicalWeight> for TropicalWeight
[src]
fn as_ref(&self) -> &TropicalWeight
[src]
impl Clone for TropicalWeight
[src]
fn clone(&self) -> TropicalWeight
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl CompleteSemiring for TropicalWeight
[src]
impl Copy for TropicalWeight
[src]
impl Debug for TropicalWeight
[src]
impl Default for TropicalWeight
[src]
fn default() -> TropicalWeight
[src]
impl Display for TropicalWeight
[src]
impl Eq for TropicalWeight
[src]
impl Hash for TropicalWeight
[src]
fn hash<H: Hasher>(&self, state: &mut H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Into<TropicalWeight> for f32
[src]
fn into(self) -> TropicalWeight
[src]
impl PartialEq<TropicalWeight> for TropicalWeight
[src]
impl PartialOrd<TropicalWeight> for TropicalWeight
[src]
fn partial_cmp(&self, other: &TropicalWeight) -> Option<Ordering>
[src]
fn lt(&self, other: &TropicalWeight) -> bool
[src]
fn le(&self, other: &TropicalWeight) -> bool
[src]
fn gt(&self, other: &TropicalWeight) -> bool
[src]
fn ge(&self, other: &TropicalWeight) -> bool
[src]
impl ReverseBack<TropicalWeight> for TropicalWeight
[src]
fn reverse_back(&self) -> Result<TropicalWeight>
[src]
impl Semiring for TropicalWeight
[src]
type Type = f32
type ReverseWeight = TropicalWeight
fn zero() -> Self
[src]
fn one() -> Self
[src]
fn new(value: Self::Type) -> Self
[src]
fn plus_assign<P: Borrow<Self>>(&mut self, rhs: P) -> Result<()>
[src]
fn times_assign<P: Borrow<Self>>(&mut self, rhs: P) -> Result<()>
[src]
fn value(&self) -> &Self::Type
[src]
fn take_value(self) -> Self::Type
[src]
fn set_value(&mut self, value: Self::Type)
[src]
fn reverse(&self) -> Result<Self::ReverseWeight>
[src]
fn properties() -> SemiringProperties
[src]
fn plus<P: Borrow<Self>>(&self, rhs: P) -> Result<Self>
[src]
fn times<P: Borrow<Self>>(&self, rhs: P) -> Result<Self>
[src]
fn is_one(&self) -> bool
[src]
fn is_zero(&self) -> bool
[src]
impl SerializableSemiring for TropicalWeight
[src]
fn weight_type() -> String
[src]
fn parse_binary(i: &[u8]) -> IResult<&[u8], Self>
[src]
fn write_binary<F: Write>(&self, file: &mut F) -> Result<()>
[src]
fn parse_text(i: &str) -> IResult<&str, Self>
[src]
fn write_text<F: Write>(&self, file: &mut F) -> Result<()>
[src]
impl StarSemiring for TropicalWeight
[src]
impl StructuralEq for TropicalWeight
[src]
impl WeaklyDivisibleSemiring for TropicalWeight
[src]
fn divide_assign(&mut self, rhs: &Self, _divide_type: DivideType) -> Result<()>
[src]
fn divide(&self, rhs: &Self, divide_type: DivideType) -> Result<Self>
[src]
impl WeightQuantize for TropicalWeight
[src]
Auto Trait Implementations
impl RefUnwindSafe for TropicalWeight
impl Send for TropicalWeight
impl Sync for TropicalWeight
impl Unpin for TropicalWeight
impl UnwindSafe for TropicalWeight
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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>,