[−][src]Struct rustfst::semirings::IntegerWeight
Probability semiring: (x, +, 0.0, 1.0).
Trait Implementations
impl AsRef<IntegerWeight> for IntegerWeight
[src]
fn as_ref(&self) -> &IntegerWeight
[src]
impl Clone for IntegerWeight
[src]
fn clone(&self) -> IntegerWeight
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl CompleteSemiring for IntegerWeight
[src]
impl Copy for IntegerWeight
[src]
impl Debug for IntegerWeight
[src]
impl Default for IntegerWeight
[src]
fn default() -> IntegerWeight
[src]
impl Display for IntegerWeight
[src]
impl Eq for IntegerWeight
[src]
impl Hash for IntegerWeight
[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<IntegerWeight> for i32
[src]
fn into(self) -> IntegerWeight
[src]
impl PartialEq<IntegerWeight> for IntegerWeight
[src]
fn eq(&self, other: &IntegerWeight) -> bool
[src]
fn ne(&self, other: &IntegerWeight) -> bool
[src]
impl PartialOrd<IntegerWeight> for IntegerWeight
[src]
fn partial_cmp(&self, other: &IntegerWeight) -> Option<Ordering>
[src]
fn lt(&self, other: &IntegerWeight) -> bool
[src]
fn le(&self, other: &IntegerWeight) -> bool
[src]
fn gt(&self, other: &IntegerWeight) -> bool
[src]
fn ge(&self, other: &IntegerWeight) -> bool
[src]
impl ReverseBack<IntegerWeight> for IntegerWeight
[src]
fn reverse_back(&self) -> Result<IntegerWeight>
[src]
impl Semiring for IntegerWeight
[src]
type Type = i32
type ReverseWeight = IntegerWeight
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 StarSemiring for IntegerWeight
[src]
impl StructuralEq for IntegerWeight
[src]
impl StructuralPartialEq for IntegerWeight
[src]
Auto Trait Implementations
impl RefUnwindSafe for IntegerWeight
impl Send for IntegerWeight
impl Sync for IntegerWeight
impl Unpin for IntegerWeight
impl UnwindSafe for IntegerWeight
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>,