Struct fixed_width_field::MaxFieldSquaredUint
source · [−]Expand description
Little-endian large integer type
Tuple Fields
0: [u64; 33]
Implementations
sourceimpl MaxFieldSquaredUint
impl MaxFieldSquaredUint
sourcepub const MAX: MaxFieldSquaredUint
pub const MAX: MaxFieldSquaredUint
Maximum value.
pub const fn from_limbs(limbs: [u64; 33]) -> MaxFieldSquaredUint
sourcepub fn as_u64(&self) -> u64
pub fn as_u64(&self) -> u64
Conversion to u64 with overflow checking
Panics
Panics if the number is larger than u64::max_value().
sourcepub fn as_usize(&self) -> usize
pub fn as_usize(&self) -> usize
Conversion to usize with overflow checking
Panics
Panics if the number is larger than usize::max_value().
sourcepub fn leading_zeros(&self) -> u32
pub fn leading_zeros(&self) -> u32
Returns the number of leading zeros in the binary representation of self.
sourcepub fn trailing_zeros(&self) -> u32
pub fn trailing_zeros(&self) -> u32
Returns the number of leading zeros in the binary representation of self.
sourcepub fn to_big_endian(&self, bytes: &mut [u8])
pub fn to_big_endian(&self, bytes: &mut [u8])
Write to the slice in big-endian format.
sourcepub fn to_little_endian(&self, bytes: &mut [u8])
pub fn to_little_endian(&self, bytes: &mut [u8])
Write to the slice in little-endian format.
sourcepub fn pow(self, expon: Self) -> Self
pub fn pow(self, expon: Self) -> Self
Fast exponentiation by squaring https://en.wikipedia.org/wiki/Exponentiation_by_squaring
Panics
Panics if the result overflows the type.
sourcepub fn overflowing_pow(self, expon: Self) -> (Self, bool)
pub fn overflowing_pow(self, expon: Self) -> (Self, bool)
Fast exponentiation by squaring. Returns result and overflow flag.
sourcepub fn overflowing_add(
self,
other: MaxFieldSquaredUint
) -> (MaxFieldSquaredUint, bool)
pub fn overflowing_add(
self,
other: MaxFieldSquaredUint
) -> (MaxFieldSquaredUint, bool)
Add with overflow.
sourcepub fn saturating_add(self, other: MaxFieldSquaredUint) -> MaxFieldSquaredUint
pub fn saturating_add(self, other: MaxFieldSquaredUint) -> MaxFieldSquaredUint
Addition which saturates at the maximum value (Self::max_value()).
sourcepub fn checked_add(
self,
other: MaxFieldSquaredUint
) -> Option<MaxFieldSquaredUint>
pub fn checked_add(
self,
other: MaxFieldSquaredUint
) -> Option<MaxFieldSquaredUint>
Checked addition. Returns None
if overflow occurred.
sourcepub fn overflowing_sub(
self,
other: MaxFieldSquaredUint
) -> (MaxFieldSquaredUint, bool)
pub fn overflowing_sub(
self,
other: MaxFieldSquaredUint
) -> (MaxFieldSquaredUint, bool)
Subtraction which underflows and returns a flag if it does.
sourcepub fn saturating_sub(self, other: MaxFieldSquaredUint) -> MaxFieldSquaredUint
pub fn saturating_sub(self, other: MaxFieldSquaredUint) -> MaxFieldSquaredUint
Subtraction which saturates at zero.
sourcepub fn checked_sub(
self,
other: MaxFieldSquaredUint
) -> Option<MaxFieldSquaredUint>
pub fn checked_sub(
self,
other: MaxFieldSquaredUint
) -> Option<MaxFieldSquaredUint>
Checked subtraction. Returns None
if overflow occurred.
sourcepub fn adaptive_multiplication(
self,
other: MaxFieldSquaredUint
) -> MaxFieldSquaredUint
pub fn adaptive_multiplication(
self,
other: MaxFieldSquaredUint
) -> MaxFieldSquaredUint
Multiply without overflow by checking number of words for each input
sourcepub fn overflowing_mul(
self,
other: MaxFieldSquaredUint
) -> (MaxFieldSquaredUint, bool)
pub fn overflowing_mul(
self,
other: MaxFieldSquaredUint
) -> (MaxFieldSquaredUint, bool)
Multiply with overflow, returning a flag if it does.
sourcepub fn saturating_mul(self, other: MaxFieldSquaredUint) -> MaxFieldSquaredUint
pub fn saturating_mul(self, other: MaxFieldSquaredUint) -> MaxFieldSquaredUint
Multiplication which saturates at the maximum value..
sourcepub fn checked_mul(
self,
other: MaxFieldSquaredUint
) -> Option<MaxFieldSquaredUint>
pub fn checked_mul(
self,
other: MaxFieldSquaredUint
) -> Option<MaxFieldSquaredUint>
Checked multiplication. Returns None
if overflow occurred.
sourcepub fn checked_div(
self,
other: MaxFieldSquaredUint
) -> Option<MaxFieldSquaredUint>
pub fn checked_div(
self,
other: MaxFieldSquaredUint
) -> Option<MaxFieldSquaredUint>
Checked division. Returns None
if other == 0
.
sourcepub fn checked_rem(
self,
other: MaxFieldSquaredUint
) -> Option<MaxFieldSquaredUint>
pub fn checked_rem(
self,
other: MaxFieldSquaredUint
) -> Option<MaxFieldSquaredUint>
Checked modulus. Returns None
if other == 0
.
sourcepub fn overflowing_neg(self) -> (MaxFieldSquaredUint, bool)
pub fn overflowing_neg(self) -> (MaxFieldSquaredUint, bool)
Negation with overflow.
sourcepub fn checked_neg(self) -> Option<MaxFieldSquaredUint>
pub fn checked_neg(self) -> Option<MaxFieldSquaredUint>
Checked negation. Returns None
unless self == 0
.
sourcepub fn from_big_endian(slice: &[u8]) -> Self
pub fn from_big_endian(slice: &[u8]) -> Self
Converts from big endian representation bytes in memory.
sourcepub fn from_little_endian(slice: &[u8]) -> Self
pub fn from_little_endian(slice: &[u8]) -> Self
Converts from little endian representation bytes in memory.
Trait Implementations
sourceimpl Add<MaxFieldSquaredUint> for MaxFieldSquaredUint
impl Add<MaxFieldSquaredUint> for MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
The resulting type after applying the +
operator.
sourcefn add(self, other: MaxFieldSquaredUint) -> MaxFieldSquaredUint
fn add(self, other: MaxFieldSquaredUint) -> MaxFieldSquaredUint
Performs the +
operation. Read more
sourceimpl AddAssign<MaxFieldSquaredUint> for MaxFieldSquaredUint
impl AddAssign<MaxFieldSquaredUint> for MaxFieldSquaredUint
sourcefn add_assign(&mut self, other: MaxFieldSquaredUint)
fn add_assign(&mut self, other: MaxFieldSquaredUint)
Performs the +=
operation. Read more
sourceimpl AsMut<[u64]> for MaxFieldSquaredUint
impl AsMut<[u64]> for MaxFieldSquaredUint
Get a mutable reference to the underlying little-endian words.
sourceimpl AsRef<[u64]> for MaxFieldSquaredUint
impl AsRef<[u64]> for MaxFieldSquaredUint
Get a reference to the underlying little-endian words.
sourceimpl BitAnd<MaxFieldSquaredUint> for MaxFieldSquaredUint
impl BitAnd<MaxFieldSquaredUint> for MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
The resulting type after applying the &
operator.
sourcefn bitand(self, other: MaxFieldSquaredUint) -> MaxFieldSquaredUint
fn bitand(self, other: MaxFieldSquaredUint) -> MaxFieldSquaredUint
Performs the &
operation. Read more
sourceimpl BitOr<MaxFieldSquaredUint> for MaxFieldSquaredUint
impl BitOr<MaxFieldSquaredUint> for MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
The resulting type after applying the |
operator.
sourcefn bitor(self, other: MaxFieldSquaredUint) -> MaxFieldSquaredUint
fn bitor(self, other: MaxFieldSquaredUint) -> MaxFieldSquaredUint
Performs the |
operation. Read more
sourceimpl BitXor<MaxFieldSquaredUint> for MaxFieldSquaredUint
impl BitXor<MaxFieldSquaredUint> for MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
The resulting type after applying the ^
operator.
sourcefn bitxor(self, other: MaxFieldSquaredUint) -> MaxFieldSquaredUint
fn bitxor(self, other: MaxFieldSquaredUint) -> MaxFieldSquaredUint
Performs the ^
operation. Read more
sourceimpl Clone for MaxFieldSquaredUint
impl Clone for MaxFieldSquaredUint
sourcefn clone(&self) -> MaxFieldSquaredUint
fn clone(&self) -> MaxFieldSquaredUint
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for MaxFieldSquaredUint
impl Debug for MaxFieldSquaredUint
sourceimpl Default for MaxFieldSquaredUint
impl Default for MaxFieldSquaredUint
sourceimpl Display for MaxFieldSquaredUint
impl Display for MaxFieldSquaredUint
sourceimpl Div<MaxFieldSquaredUint> for MaxFieldSquaredUint
impl Div<MaxFieldSquaredUint> for MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
The resulting type after applying the /
operator.
sourcefn div(self, other: MaxFieldSquaredUint) -> MaxFieldSquaredUint
fn div(self, other: MaxFieldSquaredUint) -> MaxFieldSquaredUint
Performs the /
operation. Read more
sourceimpl DivAssign<MaxFieldSquaredUint> for MaxFieldSquaredUint
impl DivAssign<MaxFieldSquaredUint> for MaxFieldSquaredUint
sourcefn div_assign(&mut self, other: MaxFieldSquaredUint)
fn div_assign(&mut self, other: MaxFieldSquaredUint)
Performs the /=
operation. Read more
sourceimpl<'a> From<&'a MaxFieldSquaredUint> for MaxFieldSquaredUint
impl<'a> From<&'a MaxFieldSquaredUint> for MaxFieldSquaredUint
sourcefn from(x: &'a MaxFieldSquaredUint) -> MaxFieldSquaredUint
fn from(x: &'a MaxFieldSquaredUint) -> MaxFieldSquaredUint
Performs the conversion.
sourceimpl From<MaxFieldSquaredUint> for [u8; 264]
impl From<MaxFieldSquaredUint> for [u8; 264]
sourcefn from(number: MaxFieldSquaredUint) -> Self
fn from(number: MaxFieldSquaredUint) -> Self
Performs the conversion.
sourceimpl From<i32> for MaxFieldSquaredUint
impl From<i32> for MaxFieldSquaredUint
sourcefn from(value: i32) -> MaxFieldSquaredUint
fn from(value: i32) -> MaxFieldSquaredUint
Performs the conversion.
sourceimpl From<i64> for MaxFieldSquaredUint
impl From<i64> for MaxFieldSquaredUint
sourcefn from(value: i64) -> MaxFieldSquaredUint
fn from(value: i64) -> MaxFieldSquaredUint
Performs the conversion.
sourceimpl From<isize> for MaxFieldSquaredUint
impl From<isize> for MaxFieldSquaredUint
sourcefn from(value: isize) -> MaxFieldSquaredUint
fn from(value: isize) -> MaxFieldSquaredUint
Performs the conversion.
sourceimpl From<u128> for MaxFieldSquaredUint
impl From<u128> for MaxFieldSquaredUint
sourcefn from(value: u128) -> MaxFieldSquaredUint
fn from(value: u128) -> MaxFieldSquaredUint
Performs the conversion.
sourceimpl From<u16> for MaxFieldSquaredUint
impl From<u16> for MaxFieldSquaredUint
sourcefn from(value: u16) -> MaxFieldSquaredUint
fn from(value: u16) -> MaxFieldSquaredUint
Performs the conversion.
sourceimpl From<u32> for MaxFieldSquaredUint
impl From<u32> for MaxFieldSquaredUint
sourcefn from(value: u32) -> MaxFieldSquaredUint
fn from(value: u32) -> MaxFieldSquaredUint
Performs the conversion.
sourceimpl From<u64> for MaxFieldSquaredUint
impl From<u64> for MaxFieldSquaredUint
sourcefn from(value: u64) -> MaxFieldSquaredUint
fn from(value: u64) -> MaxFieldSquaredUint
Performs the conversion.
sourceimpl From<u8> for MaxFieldSquaredUint
impl From<u8> for MaxFieldSquaredUint
sourcefn from(value: u8) -> MaxFieldSquaredUint
fn from(value: u8) -> MaxFieldSquaredUint
Performs the conversion.
sourceimpl From<usize> for MaxFieldSquaredUint
impl From<usize> for MaxFieldSquaredUint
sourcefn from(value: usize) -> MaxFieldSquaredUint
fn from(value: usize) -> MaxFieldSquaredUint
Performs the conversion.
sourceimpl Hash for MaxFieldSquaredUint
impl Hash for MaxFieldSquaredUint
sourceimpl LowerHex for MaxFieldSquaredUint
impl LowerHex for MaxFieldSquaredUint
sourceimpl<'a> Mul<&'a MaxFieldSquaredUint> for MaxFieldSquaredUint
impl<'a> Mul<&'a MaxFieldSquaredUint> for MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
The resulting type after applying the *
operator.
sourcefn mul(self, other: &'a MaxFieldSquaredUint) -> MaxFieldSquaredUint
fn mul(self, other: &'a MaxFieldSquaredUint) -> MaxFieldSquaredUint
Performs the *
operation. Read more
sourceimpl<'a> Mul<&'a MaxFieldSquaredUint> for &'a MaxFieldSquaredUint
impl<'a> Mul<&'a MaxFieldSquaredUint> for &'a MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
The resulting type after applying the *
operator.
sourcefn mul(self, other: &'a MaxFieldSquaredUint) -> MaxFieldSquaredUint
fn mul(self, other: &'a MaxFieldSquaredUint) -> MaxFieldSquaredUint
Performs the *
operation. Read more
sourceimpl<'a> Mul<&'a u64> for MaxFieldSquaredUint
impl<'a> Mul<&'a u64> for MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
The resulting type after applying the *
operator.
sourcefn mul(self, other: &'a u64) -> MaxFieldSquaredUint
fn mul(self, other: &'a u64) -> MaxFieldSquaredUint
Performs the *
operation. Read more
sourceimpl<'a> Mul<&'a u64> for &'a MaxFieldSquaredUint
impl<'a> Mul<&'a u64> for &'a MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
The resulting type after applying the *
operator.
sourcefn mul(self, other: &'a u64) -> MaxFieldSquaredUint
fn mul(self, other: &'a u64) -> MaxFieldSquaredUint
Performs the *
operation. Read more
sourceimpl<'a> Mul<&'a usize> for MaxFieldSquaredUint
impl<'a> Mul<&'a usize> for MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
The resulting type after applying the *
operator.
sourcefn mul(self, other: &'a usize) -> MaxFieldSquaredUint
fn mul(self, other: &'a usize) -> MaxFieldSquaredUint
Performs the *
operation. Read more
sourceimpl<'a> Mul<&'a usize> for &'a MaxFieldSquaredUint
impl<'a> Mul<&'a usize> for &'a MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
The resulting type after applying the *
operator.
sourcefn mul(self, other: &'a usize) -> MaxFieldSquaredUint
fn mul(self, other: &'a usize) -> MaxFieldSquaredUint
Performs the *
operation. Read more
sourceimpl Mul<MaxFieldSquaredUint> for MaxFieldSquaredUint
impl Mul<MaxFieldSquaredUint> for MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
The resulting type after applying the *
operator.
sourcefn mul(self, other: MaxFieldSquaredUint) -> MaxFieldSquaredUint
fn mul(self, other: MaxFieldSquaredUint) -> MaxFieldSquaredUint
Performs the *
operation. Read more
sourceimpl<'a> Mul<MaxFieldSquaredUint> for &'a MaxFieldSquaredUint
impl<'a> Mul<MaxFieldSquaredUint> for &'a MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
The resulting type after applying the *
operator.
sourcefn mul(self, other: MaxFieldSquaredUint) -> MaxFieldSquaredUint
fn mul(self, other: MaxFieldSquaredUint) -> MaxFieldSquaredUint
Performs the *
operation. Read more
sourceimpl Mul<u64> for MaxFieldSquaredUint
impl Mul<u64> for MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
The resulting type after applying the *
operator.
sourcefn mul(self, other: u64) -> MaxFieldSquaredUint
fn mul(self, other: u64) -> MaxFieldSquaredUint
Performs the *
operation. Read more
sourceimpl<'a> Mul<u64> for &'a MaxFieldSquaredUint
impl<'a> Mul<u64> for &'a MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
The resulting type after applying the *
operator.
sourcefn mul(self, other: u64) -> MaxFieldSquaredUint
fn mul(self, other: u64) -> MaxFieldSquaredUint
Performs the *
operation. Read more
sourceimpl Mul<usize> for MaxFieldSquaredUint
impl Mul<usize> for MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
The resulting type after applying the *
operator.
sourcefn mul(self, other: usize) -> MaxFieldSquaredUint
fn mul(self, other: usize) -> MaxFieldSquaredUint
Performs the *
operation. Read more
sourceimpl<'a> Mul<usize> for &'a MaxFieldSquaredUint
impl<'a> Mul<usize> for &'a MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
The resulting type after applying the *
operator.
sourcefn mul(self, other: usize) -> MaxFieldSquaredUint
fn mul(self, other: usize) -> MaxFieldSquaredUint
Performs the *
operation. Read more
sourceimpl MulAssign<MaxFieldSquaredUint> for MaxFieldSquaredUint
impl MulAssign<MaxFieldSquaredUint> for MaxFieldSquaredUint
sourcefn mul_assign(&mut self, other: MaxFieldSquaredUint)
fn mul_assign(&mut self, other: MaxFieldSquaredUint)
Performs the *=
operation. Read more
sourceimpl MulAssign<u64> for MaxFieldSquaredUint
impl MulAssign<u64> for MaxFieldSquaredUint
sourcefn mul_assign(&mut self, other: u64)
fn mul_assign(&mut self, other: u64)
Performs the *=
operation. Read more
sourceimpl MulAssign<usize> for MaxFieldSquaredUint
impl MulAssign<usize> for MaxFieldSquaredUint
sourcefn mul_assign(&mut self, other: usize)
fn mul_assign(&mut self, other: usize)
Performs the *=
operation. Read more
sourceimpl Not for MaxFieldSquaredUint
impl Not for MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
The resulting type after applying the !
operator.
sourcefn not(self) -> MaxFieldSquaredUint
fn not(self) -> MaxFieldSquaredUint
Performs the unary !
operation. Read more
sourceimpl Ord for MaxFieldSquaredUint
impl Ord for MaxFieldSquaredUint
sourceimpl PartialOrd<MaxFieldSquaredUint> for MaxFieldSquaredUint
impl PartialOrd<MaxFieldSquaredUint> for MaxFieldSquaredUint
sourcefn partial_cmp(&self, other: &MaxFieldSquaredUint) -> Option<Ordering>
fn partial_cmp(&self, other: &MaxFieldSquaredUint) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl Rem<MaxFieldSquaredUint> for MaxFieldSquaredUint
impl Rem<MaxFieldSquaredUint> for MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
The resulting type after applying the %
operator.
sourcefn rem(self, other: MaxFieldSquaredUint) -> MaxFieldSquaredUint
fn rem(self, other: MaxFieldSquaredUint) -> MaxFieldSquaredUint
Performs the %
operation. Read more
sourceimpl RemAssign<MaxFieldSquaredUint> for MaxFieldSquaredUint
impl RemAssign<MaxFieldSquaredUint> for MaxFieldSquaredUint
sourcefn rem_assign(&mut self, other: MaxFieldSquaredUint)
fn rem_assign(&mut self, other: MaxFieldSquaredUint)
Performs the %=
operation. Read more
sourceimpl Shl<u32> for MaxFieldSquaredUint
impl Shl<u32> for MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
The resulting type after applying the <<
operator.
sourcefn shl(self, shift: u32) -> MaxFieldSquaredUint
fn shl(self, shift: u32) -> MaxFieldSquaredUint
Performs the <<
operation. Read more
sourceimpl<'a> Shl<u32> for &'a MaxFieldSquaredUint
impl<'a> Shl<u32> for &'a MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
The resulting type after applying the <<
operator.
sourcefn shl(self, shift: u32) -> MaxFieldSquaredUint
fn shl(self, shift: u32) -> MaxFieldSquaredUint
Performs the <<
operation. Read more
sourceimpl ShlAssign<u32> for MaxFieldSquaredUint
impl ShlAssign<u32> for MaxFieldSquaredUint
sourcefn shl_assign(&mut self, shift: u32)
fn shl_assign(&mut self, shift: u32)
Performs the <<=
operation. Read more
sourceimpl Shr<u32> for MaxFieldSquaredUint
impl Shr<u32> for MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
The resulting type after applying the >>
operator.
sourcefn shr(self, shift: u32) -> MaxFieldSquaredUint
fn shr(self, shift: u32) -> MaxFieldSquaredUint
Performs the >>
operation. Read more
sourceimpl<'a> Shr<u32> for &'a MaxFieldSquaredUint
impl<'a> Shr<u32> for &'a MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
The resulting type after applying the >>
operator.
sourcefn shr(self, shift: u32) -> MaxFieldSquaredUint
fn shr(self, shift: u32) -> MaxFieldSquaredUint
Performs the >>
operation. Read more
sourceimpl ShrAssign<u32> for MaxFieldSquaredUint
impl ShrAssign<u32> for MaxFieldSquaredUint
sourcefn shr_assign(&mut self, shift: u32)
fn shr_assign(&mut self, shift: u32)
Performs the >>=
operation. Read more
sourceimpl Sub<MaxFieldSquaredUint> for MaxFieldSquaredUint
impl Sub<MaxFieldSquaredUint> for MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
type Output = MaxFieldSquaredUint
The resulting type after applying the -
operator.
sourcefn sub(self, other: MaxFieldSquaredUint) -> MaxFieldSquaredUint
fn sub(self, other: MaxFieldSquaredUint) -> MaxFieldSquaredUint
Performs the -
operation. Read more
sourceimpl SubAssign<MaxFieldSquaredUint> for MaxFieldSquaredUint
impl SubAssign<MaxFieldSquaredUint> for MaxFieldSquaredUint
sourcefn sub_assign(&mut self, other: MaxFieldSquaredUint)
fn sub_assign(&mut self, other: MaxFieldSquaredUint)
Performs the -=
operation. Read more
impl Copy for MaxFieldSquaredUint
impl Eq for MaxFieldSquaredUint
Auto Trait Implementations
impl RefUnwindSafe for MaxFieldSquaredUint
impl Send for MaxFieldSquaredUint
impl Sync for MaxFieldSquaredUint
impl Unpin for MaxFieldSquaredUint
impl UnwindSafe for MaxFieldSquaredUint
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more