pub struct DegreeCountingSemiring(/* private fields */);Implementations§
Trait Implementations§
Source§impl Add<&DegreeCountingSemiring> for DegreeCountingSemiring
impl Add<&DegreeCountingSemiring> for DegreeCountingSemiring
Source§type Output = DegreeCountingSemiring
type Output = DegreeCountingSemiring
The resulting type after applying the
+ operator.Source§impl Add for DegreeCountingSemiring
impl Add for DegreeCountingSemiring
Source§type Output = DegreeCountingSemiring
type Output = DegreeCountingSemiring
The resulting type after applying the
+ operator.Source§impl AddAssign<&DegreeCountingSemiring> for DegreeCountingSemiring
impl AddAssign<&DegreeCountingSemiring> for DegreeCountingSemiring
Source§fn add_assign(&mut self, rhs: &DegreeCountingSemiring)
fn add_assign(&mut self, rhs: &DegreeCountingSemiring)
Performs the
+= operation. Read moreSource§impl AddAssign for DegreeCountingSemiring
impl AddAssign for DegreeCountingSemiring
Source§fn add_assign(&mut self, rhs: DegreeCountingSemiring)
fn add_assign(&mut self, rhs: DegreeCountingSemiring)
Performs the
+= operation. Read moreSource§impl CheckedAdd for DegreeCountingSemiring
impl CheckedAdd for DegreeCountingSemiring
Source§fn checked_add(&self, rhs: &DegreeCountingSemiring) -> Option<Self::Output>
fn checked_add(&self, rhs: &DegreeCountingSemiring) -> Option<Self::Output>
Adds two numbers, checking for overflow. If overflow happens,
None is
returned.Source§impl CheckedMul for DegreeCountingSemiring
impl CheckedMul for DegreeCountingSemiring
Source§fn checked_mul(&self, rhs: &Self) -> Option<Self>
fn checked_mul(&self, rhs: &Self) -> Option<Self>
Multiplies two numbers, checking for underflow or overflow. If underflow
or overflow happens,
None is returned.Source§impl CheckedSub for DegreeCountingSemiring
impl CheckedSub for DegreeCountingSemiring
Source§fn checked_sub(&self, rhs: &DegreeCountingSemiring) -> Option<Self::Output>
fn checked_sub(&self, rhs: &DegreeCountingSemiring) -> Option<Self::Output>
Subtracts two numbers, checking for underflow. If underflow happens,
None is returned.Source§impl Clone for DegreeCountingSemiring
impl Clone for DegreeCountingSemiring
Source§fn clone(&self) -> DegreeCountingSemiring
fn clone(&self) -> DegreeCountingSemiring
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DegreeCountingSemiring
impl Debug for DegreeCountingSemiring
Source§impl Default for DegreeCountingSemiring
impl Default for DegreeCountingSemiring
Source§fn default() -> DegreeCountingSemiring
fn default() -> DegreeCountingSemiring
Returns the “default value” for a type. Read more
Source§impl Display for DegreeCountingSemiring
impl Display for DegreeCountingSemiring
Source§impl From<bool> for DegreeCountingSemiring
impl From<bool> for DegreeCountingSemiring
Source§impl Hash for DegreeCountingSemiring
impl Hash for DegreeCountingSemiring
Source§impl Mul for DegreeCountingSemiring
impl Mul for DegreeCountingSemiring
Source§impl MulAssign<&DegreeCountingSemiring> for DegreeCountingSemiring
impl MulAssign<&DegreeCountingSemiring> for DegreeCountingSemiring
Source§fn mul_assign(&mut self, rhs: &Self)
fn mul_assign(&mut self, rhs: &Self)
Performs the
*= operation. Read moreSource§impl MulAssign for DegreeCountingSemiring
impl MulAssign for DegreeCountingSemiring
Source§fn mul_assign(&mut self, rhs: Self)
fn mul_assign(&mut self, rhs: Self)
Performs the
*= operation. Read moreSource§impl One for DegreeCountingSemiring
impl One for DegreeCountingSemiring
Source§impl PartialEq for DegreeCountingSemiring
impl PartialEq for DegreeCountingSemiring
Source§fn eq(&self, other: &DegreeCountingSemiring) -> bool
fn eq(&self, other: &DegreeCountingSemiring) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Pow<u32> for DegreeCountingSemiring
impl Pow<u32> for DegreeCountingSemiring
Source§impl<'a> Product<&'a DegreeCountingSemiring> for DegreeCountingSemiring
impl<'a> Product<&'a DegreeCountingSemiring> for DegreeCountingSemiring
Source§impl Product for DegreeCountingSemiring
impl Product for DegreeCountingSemiring
Source§impl Sub<&DegreeCountingSemiring> for DegreeCountingSemiring
impl Sub<&DegreeCountingSemiring> for DegreeCountingSemiring
Source§type Output = DegreeCountingSemiring
type Output = DegreeCountingSemiring
The resulting type after applying the
- operator.Source§impl Sub for DegreeCountingSemiring
impl Sub for DegreeCountingSemiring
Source§type Output = DegreeCountingSemiring
type Output = DegreeCountingSemiring
The resulting type after applying the
- operator.Source§impl SubAssign<&DegreeCountingSemiring> for DegreeCountingSemiring
impl SubAssign<&DegreeCountingSemiring> for DegreeCountingSemiring
Source§fn sub_assign(&mut self, rhs: &DegreeCountingSemiring)
fn sub_assign(&mut self, rhs: &DegreeCountingSemiring)
Performs the
-= operation. Read moreSource§impl SubAssign for DegreeCountingSemiring
impl SubAssign for DegreeCountingSemiring
Source§fn sub_assign(&mut self, rhs: DegreeCountingSemiring)
fn sub_assign(&mut self, rhs: DegreeCountingSemiring)
Performs the
-= operation. Read moreSource§impl<'a> Sum<&'a DegreeCountingSemiring> for DegreeCountingSemiring
impl<'a> Sum<&'a DegreeCountingSemiring> for DegreeCountingSemiring
Source§impl Sum for DegreeCountingSemiring
impl Sum for DegreeCountingSemiring
Source§impl Zero for DegreeCountingSemiring
impl Zero for DegreeCountingSemiring
impl Copy for DegreeCountingSemiring
impl Eq for DegreeCountingSemiring
impl StructuralPartialEq for DegreeCountingSemiring
Auto Trait Implementations§
impl Freeze for DegreeCountingSemiring
impl RefUnwindSafe for DegreeCountingSemiring
impl Send for DegreeCountingSemiring
impl Sync for DegreeCountingSemiring
impl Unpin for DegreeCountingSemiring
impl UnsafeUnpin for DegreeCountingSemiring
impl UnwindSafe for DegreeCountingSemiring
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more