NonZeroInteger128

Struct NonZeroInteger128 

Source
pub struct NonZeroInteger128(pub NonZeroI128);
Expand description

A 128-bit non-zero integer number, from the set $\Z \setminus 0$, also known as N0z128.

The range of valid numeric values is $\lbrack$i128::MIN $\dots -1, 1 \dots$ i128::MAX$\rbrack$.

It is equivalent to the NonZeroI128 primitive.

Tuple Fields§

§0: NonZeroI128

Implementations§

Source§

impl NonZeroInteger128

§Methods for all integers

Source

pub const fn is_even(&self) -> bool

Returns true if this integer is even.

Source

pub const fn is_odd(&self) -> bool

Returns true if this integer is odd.

Source

pub const fn is_multiple_of(&self, other: &Self) -> bool

Returns true if this integer is a multiple of the other.

Source

pub const fn is_divisor_of(&self, other: &Self) -> bool

Returns true if this integer is a divisor of the other.

Source

pub const fn is_coprime(&self, other: &Self) -> bool

Returns true if self and other are relative primes, which means they have only 1 as their only common divisor.

§Notation

$a \perp b$.

Source

pub const fn digits(&self) -> usize

Returns the number of digits in base 10.

Source§

impl NonZeroInteger128

§Methods for non-negative integers

Source

pub fn is_prime(&self) -> Option<bool>

Returns Some(true) if this integer is prime, Some(false) if it’s not prime, or None if it can not be determined.

Returns None if this integer can’t be represented as a usize, or as a u32 in no-std.

Source

pub const fn gcd(&self, other: &Self) -> Self

Calculates the Greatest Common Divisor of this integer and other.

Source

pub const fn lcm(&self, other: &Self) -> Self

Calculates the Lowest Common Multiple of this integer and other.

Source§

impl NonZeroInteger128

§Integer addition

Source

pub const fn basic_add(self, rhs: NonZeroInteger128) -> NonZeroInteger128

Integer addition.

§Panics

If the addition results in 0, or overflows.

Source

pub const fn checked_add( self, rhs: NonZeroInteger128, ) -> Option<NonZeroInteger128>

Checked addition.

Returns None if the result is 0, or it overflows.

Source

pub const fn checked_saturating_add( self, rhs: NonZeroInteger128, ) -> Option<NonZeroInteger128>

Saturating addition. Computes self + rhs, saturating at the numeric bounds instead of overflowing.

§Panics

If the addition results in 0.

Source

pub const fn checked_wrapping_add( self, rhs: NonZeroInteger128, ) -> Option<NonZeroInteger128>

Wrapping (modular) addition. Computes self + rhs, wrapping around at the boundary of the type.

Source

pub const fn overflowing_add( self, rhs: NonZeroInteger128, ) -> (Option<NonZeroInteger128>, bool)

Overflowing addition.

Returns a tuple of the addition along with a boolean indicating whether an arithmetic overflow would occur. If an overflow would have occurred then the wrapped value is returned.

Source§

impl NonZeroInteger128

Source

pub const fn new(value: i128) -> NumeraResult<Self>

Returns a new NonZeroInteger128.

§Errors

If the given value equals 0.

Source

pub const unsafe fn new_unchecked(value: i128) -> Self

Available on crate feature not(safe) only.

Returns a new NonZeroInteger128.

§Safety

The given value must not be 0.

§Panics

Panics in debug if the given value is 0.

Source§

impl NonZeroInteger128

§Methods for resizing

Source

pub fn as_larger_or_same(&self) -> NonZeroInteger128

Returns the current number as the next larger bit-size, or the same if there’s no larger one available.

Source

pub fn try_as_larger(&self) -> NumeraResult<NonZeroInteger128>

Tries to return the current number as the next larger bit-size.

§Errors

If there’s no larger bit-size available.

Source

pub fn as_smaller_or_same(&self) -> NonZeroIntegers

Available on crate feature try_from only.

Returns the current number as the next smaller bit-size, or the same if the value can’t fit in the smaller bit-size, or if there’s no smaller bit-size available.

Source

pub fn try_as_smaller(&self) -> NumeraResult<NonZeroInteger64>

Available on crate feature try_from only.

Tries to return the current number as the next smaller bit-size.

§Errors

If the value can’t fit in the smaller bit-size, or if there’s no smaller bit-size available.

Trait Implementations§

Source§

impl Add for NonZeroInteger128

Source§

fn add(self, rhs: NonZeroInteger128) -> Self::Output

Performs the + operation.

Panics in debug, on overflow. While in release, it performs two’s complement wrapping.

Source§

type Output = NonZeroInteger128

The resulting type after applying the + operator.
Source§

impl AddAssign for NonZeroInteger128

Source§

fn add_assign(&mut self, rhs: NonZeroInteger128)

Performs the += operation.

§Panics

Panics in debug, on overflow. While in release, it performs two’s complement wrapping.

Source§

impl Bound for NonZeroInteger128

Source§

fn is_lower_bounded(&self) -> bool

Returns true if the number is lower bounded.
Source§

fn is_upper_bounded(&self) -> bool

Returns true if the number is upper bounded.
Source§

fn lower_bound(&self) -> Option<Self>

Returns the lower bound, if any.
Source§

fn upper_bound(&self) -> Option<Self>

Returns the upper bound, if any.
Source§

impl Clone for NonZeroInteger128

Source§

fn clone(&self) -> NonZeroInteger128

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl ConstLowerBounded for NonZeroInteger128

Source§

const MIN: Self

The smallest value that can be represented with this type.
Source§

impl ConstNegOne for NonZeroInteger128

Source§

const NEG_ONE: Self

The additive inverse of the multiplicative identity, -1.
Source§

impl ConstOne for NonZeroInteger128

Source§

const ONE: Self

The multiplicative identity, 1.
Source§

impl ConstUpperBounded for NonZeroInteger128

Source§

const MAX: Self

The largest value that can be represented with this type.
Source§

impl Count for NonZeroInteger128

Source§

fn is_countable(&self) -> bool

Returns true if the number is countable.
Source§

fn is_uncountable(&self) -> bool

Returns false if the number is countable.
Source§

impl Countable for NonZeroInteger128

Source§

fn next(&self) -> NumeraResult<Self>

Returns the next countable value, skipping 0.

§Errors

Errors if the operation results in overflow.

Source§

fn previous(&self) -> NumeraResult<Self>

Returns the previous countable value, skipping 0.

§Errors

Errors if the operation results in underflow.

Source§

impl Debug for NonZeroInteger128

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for NonZeroInteger128

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Div for NonZeroInteger128

Source§

type Output = NonZeroInteger128

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Self::Output) -> Self::Output

Performs the / operation. Read more
Source§

impl From<&NegativeInteger16> for NonZeroInteger128

Source§

fn from(f: &NegativeInteger16) -> Self

Converts to this type from the input type.
Source§

impl From<&NegativeInteger32> for NonZeroInteger128

Source§

fn from(f: &NegativeInteger32) -> Self

Converts to this type from the input type.
Source§

impl From<&NegativeInteger64> for NonZeroInteger128

Source§

fn from(f: &NegativeInteger64) -> Self

Converts to this type from the input type.
Source§

impl From<&NegativeInteger8> for NonZeroInteger128

Source§

fn from(f: &NegativeInteger8) -> Self

Converts to this type from the input type.
Source§

impl From<&NonZero<i128>> for NonZeroInteger128

Source§

fn from(f: &NonZeroI128) -> Self

Converts to this type from the input type.
Source§

impl From<&NonZero<i16>> for NonZeroInteger128

Source§

fn from(f: &NonZeroI16) -> Self

Converts to this type from the input type.
Source§

impl From<&NonZero<i32>> for NonZeroInteger128

Source§

fn from(f: &NonZeroI32) -> Self

Converts to this type from the input type.
Source§

impl From<&NonZero<i64>> for NonZeroInteger128

Source§

fn from(f: &NonZeroI64) -> Self

Converts to this type from the input type.
Source§

impl From<&NonZero<i8>> for NonZeroInteger128

Source§

fn from(f: &NonZeroI8) -> Self

Converts to this type from the input type.
Source§

impl From<&NonZero<u16>> for NonZeroInteger128

Source§

fn from(f: &NonZeroU16) -> Self

Converts to this type from the input type.
Source§

impl From<&NonZero<u32>> for NonZeroInteger128

Source§

fn from(f: &NonZeroU32) -> Self

Converts to this type from the input type.
Source§

impl From<&NonZero<u64>> for NonZeroInteger128

Source§

fn from(f: &NonZeroU64) -> Self

Converts to this type from the input type.
Source§

impl From<&NonZero<u8>> for NonZeroInteger128

Source§

fn from(f: &NonZeroU8) -> Self

Converts to this type from the input type.
Source§

impl From<&NonZeroInteger128> for Integer128

Source§

fn from(f: &NonZeroInteger128) -> Self

Converts to this type from the input type.
Source§

impl From<&NonZeroInteger128> for IntegerBig

Available on crate feature dashu-int only.
Source§

fn from(f: &NonZeroInteger128) -> Self

Converts to this type from the input type.
Source§

impl From<&NonZeroInteger128> for NonZeroI128

Source§

fn from(f: &NonZeroInteger128) -> Self

Converts to this type from the input type.
Source§

impl From<&NonZeroInteger128> for Rational128

Source§

fn from(f: &NonZeroInteger128) -> Self

Converts to this type from the input type.
Source§

impl From<&NonZeroInteger128> for i128

Source§

fn from(f: &NonZeroInteger128) -> Self

Converts to this type from the input type.
Source§

impl From<&NonZeroInteger16> for NonZeroInteger128

Source§

fn from(f: &NonZeroInteger16) -> Self

Converts to this type from the input type.
Source§

impl From<&NonZeroInteger32> for NonZeroInteger128

Source§

fn from(f: &NonZeroInteger32) -> Self

Converts to this type from the input type.
Source§

impl From<&NonZeroInteger64> for NonZeroInteger128

Source§

fn from(f: &NonZeroInteger64) -> Self

Converts to this type from the input type.
Source§

impl From<&NonZeroInteger8> for NonZeroInteger128

Source§

fn from(f: &NonZeroInteger8) -> Self

Converts to this type from the input type.
Source§

impl From<&PositiveInteger16> for NonZeroInteger128

Source§

fn from(f: &PositiveInteger16) -> Self

Converts to this type from the input type.
Source§

impl From<&PositiveInteger32> for NonZeroInteger128

Source§

fn from(f: &PositiveInteger32) -> Self

Converts to this type from the input type.
Source§

impl From<&PositiveInteger64> for NonZeroInteger128

Source§

fn from(f: &PositiveInteger64) -> Self

Converts to this type from the input type.
Source§

impl From<&PositiveInteger8> for NonZeroInteger128

Source§

fn from(f: &PositiveInteger8) -> Self

Converts to this type from the input type.
Source§

impl From<&Prime16> for NonZeroInteger128

Source§

fn from(f: &Prime16) -> Self

Converts to this type from the input type.
Source§

impl From<&Prime32> for NonZeroInteger128

Source§

fn from(f: &Prime32) -> Self

Converts to this type from the input type.
Source§

impl From<&Prime64> for NonZeroInteger128

Source§

fn from(f: &Prime64) -> Self

Converts to this type from the input type.
Source§

impl From<&Prime8> for NonZeroInteger128

Source§

fn from(f: &Prime8) -> Self

Converts to this type from the input type.
Source§

impl From<&mut NegativeInteger16> for NonZeroInteger128

Source§

fn from(f: &mut NegativeInteger16) -> Self

Converts to this type from the input type.
Source§

impl From<&mut NegativeInteger32> for NonZeroInteger128

Source§

fn from(f: &mut NegativeInteger32) -> Self

Converts to this type from the input type.
Source§

impl From<&mut NegativeInteger64> for NonZeroInteger128

Source§

fn from(f: &mut NegativeInteger64) -> Self

Converts to this type from the input type.
Source§

impl From<&mut NegativeInteger8> for NonZeroInteger128

Source§

fn from(f: &mut NegativeInteger8) -> Self

Converts to this type from the input type.
Source§

impl From<&mut NonZero<i128>> for NonZeroInteger128

Source§

fn from(f: &mut NonZeroI128) -> Self

Converts to this type from the input type.
Source§

impl From<&mut NonZero<i16>> for NonZeroInteger128

Source§

fn from(f: &mut NonZeroI16) -> Self

Converts to this type from the input type.
Source§

impl From<&mut NonZero<i32>> for NonZeroInteger128

Source§

fn from(f: &mut NonZeroI32) -> Self

Converts to this type from the input type.
Source§

impl From<&mut NonZero<i64>> for NonZeroInteger128

Source§

fn from(f: &mut NonZeroI64) -> Self

Converts to this type from the input type.
Source§

impl From<&mut NonZero<i8>> for NonZeroInteger128

Source§

fn from(f: &mut NonZeroI8) -> Self

Converts to this type from the input type.
Source§

impl From<&mut NonZero<u16>> for NonZeroInteger128

Source§

fn from(f: &mut NonZeroU16) -> Self

Converts to this type from the input type.
Source§

impl From<&mut NonZero<u32>> for NonZeroInteger128

Source§

fn from(f: &mut NonZeroU32) -> Self

Converts to this type from the input type.
Source§

impl From<&mut NonZero<u64>> for NonZeroInteger128

Source§

fn from(f: &mut NonZeroU64) -> Self

Converts to this type from the input type.
Source§

impl From<&mut NonZero<u8>> for NonZeroInteger128

Source§

fn from(f: &mut NonZeroU8) -> Self

Converts to this type from the input type.
Source§

impl From<&mut NonZeroInteger128> for Integer128

Source§

fn from(f: &mut NonZeroInteger128) -> Self

Converts to this type from the input type.
Source§

impl From<&mut NonZeroInteger128> for IntegerBig

Available on crate feature dashu-int only.
Source§

fn from(f: &mut NonZeroInteger128) -> Self

Converts to this type from the input type.
Source§

impl From<&mut NonZeroInteger128> for NonZeroI128

Source§

fn from(f: &mut NonZeroInteger128) -> Self

Converts to this type from the input type.
Source§

impl From<&mut NonZeroInteger128> for Rational128

Source§

fn from(f: &mut NonZeroInteger128) -> Self

Converts to this type from the input type.
Source§

impl From<&mut NonZeroInteger128> for i128

Source§

fn from(f: &mut NonZeroInteger128) -> Self

Converts to this type from the input type.
Source§

impl From<&mut NonZeroInteger16> for NonZeroInteger128

Source§

fn from(f: &mut NonZeroInteger16) -> Self

Converts to this type from the input type.
Source§

impl From<&mut NonZeroInteger32> for NonZeroInteger128

Source§

fn from(f: &mut NonZeroInteger32) -> Self

Converts to this type from the input type.
Source§

impl From<&mut NonZeroInteger64> for NonZeroInteger128

Source§

fn from(f: &mut NonZeroInteger64) -> Self

Converts to this type from the input type.
Source§

impl From<&mut NonZeroInteger8> for NonZeroInteger128

Source§

fn from(f: &mut NonZeroInteger8) -> Self

Converts to this type from the input type.
Source§

impl From<&mut PositiveInteger16> for NonZeroInteger128

Source§

fn from(f: &mut PositiveInteger16) -> Self

Converts to this type from the input type.
Source§

impl From<&mut PositiveInteger32> for NonZeroInteger128

Source§

fn from(f: &mut PositiveInteger32) -> Self

Converts to this type from the input type.
Source§

impl From<&mut PositiveInteger64> for NonZeroInteger128

Source§

fn from(f: &mut PositiveInteger64) -> Self

Converts to this type from the input type.
Source§

impl From<&mut PositiveInteger8> for NonZeroInteger128

Source§

fn from(f: &mut PositiveInteger8) -> Self

Converts to this type from the input type.
Source§

impl From<&mut Prime16> for NonZeroInteger128

Source§

fn from(f: &mut Prime16) -> Self

Converts to this type from the input type.
Source§

impl From<&mut Prime32> for NonZeroInteger128

Source§

fn from(f: &mut Prime32) -> Self

Converts to this type from the input type.
Source§

impl From<&mut Prime64> for NonZeroInteger128

Source§

fn from(f: &mut Prime64) -> Self

Converts to this type from the input type.
Source§

impl From<&mut Prime8> for NonZeroInteger128

Source§

fn from(f: &mut Prime8) -> Self

Converts to this type from the input type.
Source§

impl From<NegativeInteger16> for NonZeroInteger128

Source§

fn from(f: NegativeInteger16) -> Self

Converts to this type from the input type.
Source§

impl From<NegativeInteger32> for NonZeroInteger128

Source§

fn from(f: NegativeInteger32) -> Self

Converts to this type from the input type.
Source§

impl From<NegativeInteger64> for NonZeroInteger128

Source§

fn from(f: NegativeInteger64) -> Self

Converts to this type from the input type.
Source§

impl From<NegativeInteger8> for NonZeroInteger128

Source§

fn from(f: NegativeInteger8) -> Self

Converts to this type from the input type.
Source§

impl From<NonZero<i128>> for NonZeroInteger128

Source§

fn from(f: NonZeroI128) -> Self

Converts to this type from the input type.
Source§

impl From<NonZero<i16>> for NonZeroInteger128

Source§

fn from(f: NonZeroI16) -> Self

Converts to this type from the input type.
Source§

impl From<NonZero<i32>> for NonZeroInteger128

Source§

fn from(f: NonZeroI32) -> Self

Converts to this type from the input type.
Source§

impl From<NonZero<i64>> for NonZeroInteger128

Source§

fn from(f: NonZeroI64) -> Self

Converts to this type from the input type.
Source§

impl From<NonZero<i8>> for NonZeroInteger128

Source§

fn from(f: NonZeroI8) -> Self

Converts to this type from the input type.
Source§

impl From<NonZero<u16>> for NonZeroInteger128

Source§

fn from(f: NonZeroU16) -> Self

Converts to this type from the input type.
Source§

impl From<NonZero<u32>> for NonZeroInteger128

Source§

fn from(f: NonZeroU32) -> Self

Converts to this type from the input type.
Source§

impl From<NonZero<u64>> for NonZeroInteger128

Source§

fn from(f: NonZeroU64) -> Self

Converts to this type from the input type.
Source§

impl From<NonZero<u8>> for NonZeroInteger128

Source§

fn from(f: NonZeroU8) -> Self

Converts to this type from the input type.
Source§

impl From<NonZeroInteger128> for Integer128

Source§

fn from(f: NonZeroInteger128) -> Self

Converts to this type from the input type.
Source§

impl From<NonZeroInteger128> for IntegerBig

Available on crate feature dashu-int only.
Source§

fn from(f: NonZeroInteger128) -> Self

Converts to this type from the input type.
Source§

impl From<NonZeroInteger128> for NonZeroI128

Source§

fn from(f: NonZeroInteger128) -> Self

Converts to this type from the input type.
Source§

impl From<NonZeroInteger128> for NonZeroIntegers

Source§

fn from(z: NonZeroInteger128) -> NonZeroIntegers

Converts to this type from the input type.
Source§

impl From<NonZeroInteger128> for Rational128

Source§

fn from(f: NonZeroInteger128) -> Self

Converts to this type from the input type.
Source§

impl From<NonZeroInteger128> for i128

Source§

fn from(f: NonZeroInteger128) -> Self

Converts to this type from the input type.
Source§

impl From<NonZeroInteger16> for NonZeroInteger128

Source§

fn from(f: NonZeroInteger16) -> Self

Converts to this type from the input type.
Source§

impl From<NonZeroInteger32> for NonZeroInteger128

Source§

fn from(f: NonZeroInteger32) -> Self

Converts to this type from the input type.
Source§

impl From<NonZeroInteger64> for NonZeroInteger128

Source§

fn from(f: NonZeroInteger64) -> Self

Converts to this type from the input type.
Source§

impl From<NonZeroInteger8> for NonZeroInteger128

Source§

fn from(f: NonZeroInteger8) -> Self

Converts to this type from the input type.
Source§

impl From<PositiveInteger16> for NonZeroInteger128

Source§

fn from(f: PositiveInteger16) -> Self

Converts to this type from the input type.
Source§

impl From<PositiveInteger32> for NonZeroInteger128

Source§

fn from(f: PositiveInteger32) -> Self

Converts to this type from the input type.
Source§

impl From<PositiveInteger64> for NonZeroInteger128

Source§

fn from(f: PositiveInteger64) -> Self

Converts to this type from the input type.
Source§

impl From<PositiveInteger8> for NonZeroInteger128

Source§

fn from(f: PositiveInteger8) -> Self

Converts to this type from the input type.
Source§

impl From<Prime16> for NonZeroInteger128

Source§

fn from(f: Prime16) -> Self

Converts to this type from the input type.
Source§

impl From<Prime32> for NonZeroInteger128

Source§

fn from(f: Prime32) -> Self

Converts to this type from the input type.
Source§

impl From<Prime64> for NonZeroInteger128

Source§

fn from(f: Prime64) -> Self

Converts to this type from the input type.
Source§

impl From<Prime8> for NonZeroInteger128

Source§

fn from(f: Prime8) -> Self

Converts to this type from the input type.
Source§

impl Hash for NonZeroInteger128

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Ident for NonZeroInteger128

Source§

fn can_zero(&self) -> bool

Returns true if the number can represent 0, the additive identity. Read more
Source§

fn can_one(&self) -> bool

Returns true if the number can represent 1, the multiplicative identity. Read more
Source§

fn can_neg_one(&self) -> bool

Returns true if the number can represent -1, the additive inverse of the multiplicative identity. Read more
Source§

fn is_zero(&self) -> bool

Returns true if the current value is 0. the additive identity.
Source§

fn is_one(&self) -> bool

Returns true if the current value is 1, the multiplicative identity.
Source§

fn is_neg_one(&self) -> bool

Returns true if the current value is -1, the additive inverse of the multiplicative identity.
Source§

impl Integer for NonZeroInteger128

Source§

fn integer_is_even(&self) -> bool

Returns true if this integer is even.
Source§

fn integer_is_multiple_of(&self, other: &Self) -> bool

Returns true if this integer is a multiple of the other.
Source§

fn integer_is_prime(&self) -> Option<bool>

Returns Some(true) if this integer is prime, Some(false) if it’s not prime, or None if it can not be determined. Read more
Source§

fn integer_gcd(&self, other: &Self) -> Option<Self>

Calculates the Greatest Common Divisor of this integer and other. Read more
Source§

fn integer_lcm(&self, other: &Self) -> Option<Self>

Calculates the Lowest Common Multiple of this integer and other. Read more
Source§

fn integer_digits(&self) -> usize

Returns the number of digits in base 10, without the sign.
Source§

fn integer_is_odd(&self) -> bool

Returns true if this integer is odd.
Source§

fn integer_is_divisor_of(&self, other: &Self) -> bool

Returns true if this integer is a divisor of the other.
Source§

impl LowerBounded for NonZeroInteger128

Source§

fn new_min() -> Self

The smallest value that can be represented with this type.
Source§

impl Mul for NonZeroInteger128

Source§

type Output = NonZeroInteger128

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Self::Output) -> Self::Output

Performs the * operation. Read more
Source§

impl Neg for NonZeroInteger128

Source§

type Output = NonZeroInteger128

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
Source§

impl NegOne for NonZeroInteger128

Source§

fn new_neg_one() -> Self

Returns a new additive inverse of the multiplicative identity, -1.
Source§

fn set_neg_one(&mut self)
where Self: Sized,

Sets this number to -1.
Source§

impl Number for NonZeroInteger128

Source§

fn from_inner_repr(value: Self::InnerRepr) -> NumeraResult<Self>

Returns a new NonZeroInteger128 from the inner representation.

§Errors

This function can’t fail.

Source§

unsafe fn from_inner_repr_unchecked(value: Self::InnerRepr) -> Self

Available on crate feature not(safe) only.

Returns a new NonZeroInteger128 from the inner representation.

§Safety

This function is safe.

Source§

fn from_innermost_repr(value: Self::InnermostRepr) -> NumeraResult<Self>

Returns a new NonZeroInteger128 from the innermost representation.

§Errors

If the given value is 0.

Source§

unsafe fn from_innermost_repr_unchecked(value: Self::InnermostRepr) -> Self

Available on crate feature not(safe) only.

Returns a new NonZeroInteger128 from the innermost representation.

§Panics

Panics in debug if the given value is 0.

§Safety

The given value must not be 0.

Source§

type InnerRepr = NonZero<i128>

The inner primitive representation of the number. Read more
Source§

type InnermostRepr = i128

The innermost primitive representation of the number. Read more
Source§

fn into_inner_repr(self) -> Self::InnerRepr

Deconstructs the number to its inner representation.
Source§

fn into_innermost_repr(self) -> Self::InnermostRepr

Deconstructs the number to its innermost representation.
Source§

fn try_from_inner_repr(inner: impl Into<Self::InnerRepr>) -> NumeraResult<Self>
where Self: Sized,

Forms a new number from its converted given inner representation. Read more
Source§

impl One for NonZeroInteger128

Source§

fn new_one() -> Self

Returns a new multiplicative identity, 1.
Source§

fn set_one(&mut self)
where Self: Sized,

Sets this number to 1.
Source§

impl Ord for NonZeroInteger128

Source§

fn cmp(&self, other: &NonZeroInteger128) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl PartialEq for NonZeroInteger128

Source§

fn eq(&self, other: &NonZeroInteger128) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialOrd for NonZeroInteger128

Source§

fn partial_cmp(&self, other: &NonZeroInteger128) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl Rem for NonZeroInteger128

Source§

type Output = NonZeroInteger128

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: Self::Output) -> Self::Output

Performs the % operation. Read more
Source§

impl Sign for NonZeroInteger128

Source§

fn can_negative(&self) -> bool

Returns true if the type can represent negative numbers.
Source§

fn can_positive(&self) -> bool

Returns true if the type can represent positive numbers.
Source§

fn is_negative(&self) -> bool

Returns true if the value is negative (< 0).
Source§

fn is_positive(&self) -> bool

Returns true if the value is positive (> 0).
Source§

impl Sub for NonZeroInteger128

Source§

type Output = NonZeroInteger128

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Self::Output) -> Self::Output

Performs the - operation. Read more
Source§

impl Sum for NonZeroInteger128

Source§

fn sum<I: Iterator<Item = Self>>(iter: I) -> Self

Takes an iterator and generates Self from the elements by “summing up” the items.
Source§

impl TryFrom<&Integer128> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &Integer128) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&Integer16> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &Integer16) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&Integer32> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &Integer32) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&Integer64> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &Integer64) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&Integer8> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &Integer8) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&NegativeInteger128> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NegativeInteger128) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&NonNegativeInteger128> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonNegativeInteger128) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&NonNegativeInteger16> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonNegativeInteger16) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&NonNegativeInteger32> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonNegativeInteger32) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&NonNegativeInteger64> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonNegativeInteger64) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&NonNegativeInteger8> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonNegativeInteger8) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&NonPositiveInteger128> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonPositiveInteger128) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&NonPositiveInteger16> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonPositiveInteger16) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&NonPositiveInteger32> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonPositiveInteger32) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&NonPositiveInteger64> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonPositiveInteger64) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&NonPositiveInteger8> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonPositiveInteger8) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&NonZero<u128>> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroU128) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for Integer16

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<Integer16>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for Integer32

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<Integer32>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for Integer64

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<Integer64>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for Integer8

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<Integer8>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for NegativeInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<NegativeInteger128>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for NegativeInteger16

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<NegativeInteger16>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for NegativeInteger32

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<NegativeInteger32>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for NegativeInteger64

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<NegativeInteger64>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for NegativeInteger8

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<NegativeInteger8>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for NonNegativeInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<NonNegativeInteger128>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for NonNegativeInteger16

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<NonNegativeInteger16>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for NonNegativeInteger32

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<NonNegativeInteger32>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for NonNegativeInteger64

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<NonNegativeInteger64>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for NonNegativeInteger8

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<NonNegativeInteger8>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for NonPositiveInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<NonPositiveInteger128>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for NonPositiveInteger16

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<NonPositiveInteger16>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for NonPositiveInteger32

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<NonPositiveInteger32>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for NonPositiveInteger64

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<NonPositiveInteger64>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for NonPositiveInteger8

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<NonPositiveInteger8>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for NonZeroI16

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<NonZeroI16>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for NonZeroI32

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<NonZeroI32>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for NonZeroI64

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<NonZeroI64>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for NonZeroI8

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<NonZeroI8>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for NonZeroU128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<NonZeroU128>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for NonZeroU16

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<NonZeroU16>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for NonZeroU32

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<NonZeroU32>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for NonZeroU64

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<NonZeroU64>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for NonZeroU8

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<NonZeroU8>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for NonZeroInteger16

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<NonZeroInteger16>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for NonZeroInteger32

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<NonZeroInteger32>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for NonZeroInteger64

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<NonZeroInteger64>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for NonZeroInteger8

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<NonZeroInteger8>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for PositiveInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<PositiveInteger128>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for PositiveInteger16

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<PositiveInteger16>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for PositiveInteger32

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<PositiveInteger32>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for PositiveInteger64

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<PositiveInteger64>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for PositiveInteger8

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<PositiveInteger8>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for Rational16

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<Rational16>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for Rational32

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<Rational32>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for Rational64

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<Rational64>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for Rational8

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<Rational8>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for i16

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<i16>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for i32

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<i32>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for i64

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<i64>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for i8

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<i8>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for u128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<u128>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for u16

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<u16>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for u32

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<u32>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for u64

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<u64>

Performs the conversion.
Source§

impl TryFrom<&NonZeroInteger128> for u8

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &NonZeroInteger128) -> NumeraResult<u8>

Performs the conversion.
Source§

impl TryFrom<&PositiveInteger128> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &PositiveInteger128) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&Prime128> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &Prime128) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&i128> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &i128) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&i16> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &i16) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&i32> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &i32) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&i64> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &i64) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&i8> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &i8) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&mut Integer128> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut Integer128) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&mut Integer16> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut Integer16) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&mut Integer32> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut Integer32) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&mut Integer64> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut Integer64) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&mut Integer8> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut Integer8) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&mut NegativeInteger128> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NegativeInteger128) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&mut NonNegativeInteger128> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonNegativeInteger128) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&mut NonNegativeInteger16> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonNegativeInteger16) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&mut NonNegativeInteger32> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonNegativeInteger32) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&mut NonNegativeInteger64> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonNegativeInteger64) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&mut NonNegativeInteger8> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonNegativeInteger8) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&mut NonPositiveInteger128> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonPositiveInteger128) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&mut NonPositiveInteger16> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonPositiveInteger16) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&mut NonPositiveInteger32> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonPositiveInteger32) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&mut NonPositiveInteger64> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonPositiveInteger64) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&mut NonPositiveInteger8> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonPositiveInteger8) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&mut NonZero<u128>> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroU128) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for Integer16

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<Integer16>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for Integer32

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<Integer32>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for Integer64

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<Integer64>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for Integer8

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<Integer8>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for NegativeInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<NegativeInteger128>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for NegativeInteger16

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<NegativeInteger16>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for NegativeInteger32

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<NegativeInteger32>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for NegativeInteger64

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<NegativeInteger64>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for NegativeInteger8

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<NegativeInteger8>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for NonNegativeInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<NonNegativeInteger128>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for NonNegativeInteger16

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<NonNegativeInteger16>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for NonNegativeInteger32

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<NonNegativeInteger32>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for NonNegativeInteger64

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<NonNegativeInteger64>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for NonNegativeInteger8

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<NonNegativeInteger8>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for NonPositiveInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<NonPositiveInteger128>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for NonPositiveInteger16

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<NonPositiveInteger16>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for NonPositiveInteger32

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<NonPositiveInteger32>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for NonPositiveInteger64

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<NonPositiveInteger64>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for NonPositiveInteger8

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<NonPositiveInteger8>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for NonZeroI16

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<NonZeroI16>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for NonZeroI32

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<NonZeroI32>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for NonZeroI64

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<NonZeroI64>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for NonZeroI8

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<NonZeroI8>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for NonZeroU128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<NonZeroU128>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for NonZeroU16

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<NonZeroU16>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for NonZeroU32

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<NonZeroU32>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for NonZeroU64

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<NonZeroU64>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for NonZeroU8

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<NonZeroU8>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for NonZeroInteger16

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<NonZeroInteger16>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for NonZeroInteger32

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<NonZeroInteger32>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for NonZeroInteger64

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<NonZeroInteger64>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for NonZeroInteger8

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<NonZeroInteger8>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for PositiveInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<PositiveInteger128>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for PositiveInteger16

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<PositiveInteger16>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for PositiveInteger32

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<PositiveInteger32>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for PositiveInteger64

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<PositiveInteger64>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for PositiveInteger8

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<PositiveInteger8>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for Rational16

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<Rational16>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for Rational32

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<Rational32>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for Rational64

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<Rational64>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for Rational8

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<Rational8>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for i16

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<i16>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for i32

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<i32>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for i64

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<i64>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for i8

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<i8>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for u128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<u128>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for u16

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<u16>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for u32

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<u32>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for u64

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<u64>

Performs the conversion.
Source§

impl TryFrom<&mut NonZeroInteger128> for u8

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<u8>

Performs the conversion.
Source§

impl TryFrom<&mut PositiveInteger128> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut PositiveInteger128) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&mut Prime128> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut Prime128) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&mut i128> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut i128) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&mut i16> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut i16) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&mut i32> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut i32) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&mut i64> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut i64) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&mut i8> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut i8) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&mut u128> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut u128) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&mut u16> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut u16) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&mut u32> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut u32) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&mut u64> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut u64) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&mut u8> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &mut u8) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&u128> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &u128) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&u16> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &u16) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&u32> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &u32) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&u64> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &u64) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<&u8> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: &u8) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<Integer128> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: Integer128) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<Integer16> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: Integer16) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<Integer32> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: Integer32) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<Integer64> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: Integer64) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<Integer8> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: Integer8) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<NegativeInteger128> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NegativeInteger128) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<NonNegativeInteger128> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonNegativeInteger128) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<NonNegativeInteger16> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonNegativeInteger16) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<NonNegativeInteger32> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonNegativeInteger32) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<NonNegativeInteger64> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonNegativeInteger64) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<NonNegativeInteger8> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonNegativeInteger8) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<NonPositiveInteger128> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonPositiveInteger128) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<NonPositiveInteger16> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonPositiveInteger16) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<NonPositiveInteger32> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonPositiveInteger32) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<NonPositiveInteger64> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonPositiveInteger64) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<NonPositiveInteger8> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonPositiveInteger8) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<NonZero<u128>> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroU128) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for Integer16

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<Integer16>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for Integer32

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<Integer32>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for Integer64

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<Integer64>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for Integer8

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<Integer8>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for NegativeInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<NegativeInteger128>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for NegativeInteger16

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<NegativeInteger16>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for NegativeInteger32

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<NegativeInteger32>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for NegativeInteger64

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<NegativeInteger64>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for NegativeInteger8

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<NegativeInteger8>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for NonNegativeInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<NonNegativeInteger128>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for NonNegativeInteger16

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<NonNegativeInteger16>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for NonNegativeInteger32

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<NonNegativeInteger32>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for NonNegativeInteger64

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<NonNegativeInteger64>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for NonNegativeInteger8

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<NonNegativeInteger8>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for NonPositiveInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<NonPositiveInteger128>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for NonPositiveInteger16

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<NonPositiveInteger16>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for NonPositiveInteger32

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<NonPositiveInteger32>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for NonPositiveInteger64

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<NonPositiveInteger64>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for NonPositiveInteger8

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<NonPositiveInteger8>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for NonZeroI16

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<NonZeroI16>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for NonZeroI32

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<NonZeroI32>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for NonZeroI64

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<NonZeroI64>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for NonZeroI8

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<NonZeroI8>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for NonZeroU128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<NonZeroU128>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for NonZeroU16

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<NonZeroU16>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for NonZeroU32

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<NonZeroU32>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for NonZeroU64

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<NonZeroU64>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for NonZeroU8

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<NonZeroU8>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for NonZeroInteger16

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<NonZeroInteger16>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for NonZeroInteger32

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<NonZeroInteger32>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for NonZeroInteger64

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<NonZeroInteger64>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for NonZeroInteger8

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<NonZeroInteger8>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for PositiveInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<PositiveInteger128>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for PositiveInteger16

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<PositiveInteger16>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for PositiveInteger32

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<PositiveInteger32>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for PositiveInteger64

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<PositiveInteger64>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for PositiveInteger8

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<PositiveInteger8>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for Rational16

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<Rational16>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for Rational32

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<Rational32>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for Rational64

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<Rational64>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for Rational8

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<Rational8>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for i16

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<i16>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for i32

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<i32>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for i64

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<i64>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for i8

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<i8>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for u128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<u128>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for u16

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<u16>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for u32

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<u32>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for u64

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<u64>

Performs the conversion.
Source§

impl TryFrom<NonZeroInteger128> for u8

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: NonZeroInteger128) -> NumeraResult<u8>

Performs the conversion.
Source§

impl TryFrom<NonZeroIntegers> for NonZeroInteger128

Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(z: NonZeroIntegers) -> Result<NonZeroInteger128, Self::Error>

Performs the conversion.
Source§

impl TryFrom<PositiveInteger128> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: PositiveInteger128) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<Prime128> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: Prime128) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<i128> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: i128) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<i16> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: i16) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<i32> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: i32) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<i64> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: i64) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<i8> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: i8) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<u128> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: u128) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<u16> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: u16) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<u32> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: u32) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<u64> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: u64) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl TryFrom<u8> for NonZeroInteger128

Available on crate feature try_from only.
Source§

type Error = NumeraErrors

The type returned in the event of a conversion error.
Source§

fn try_from(f: u8) -> NumeraResult<NonZeroInteger128>

Performs the conversion.
Source§

impl UpperBounded for NonZeroInteger128

Source§

fn new_max() -> Self

The largest value that can be represented with this type.
Source§

impl Copy for NonZeroInteger128

Source§

impl Eq for NonZeroInteger128

Source§

impl Negative for NonZeroInteger128

Source§

impl NonZero for NonZeroInteger128

Source§

impl Positive for NonZeroInteger128

Source§

impl StructuralPartialEq for NonZeroInteger128

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Also for T

Source§

fn also_mut<F>(self, f: F) -> Self
where F: FnOnce(&mut Self),

Applies a function which takes the parameter by exclusive reference, and then returns the (possibly) modified owned value. Read more
Source§

fn also_ref<F>(self, f: F) -> Self
where F: FnOnce(&Self),

Applies a function which takes the parameter by shared reference, and then returns the (possibly) modified owned value. Read more
Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T, Res> Apply<Res> for T
where T: ?Sized,

Source§

fn apply<F>(self, f: F) -> Res
where F: FnOnce(Self) -> Res, Self: Sized,

Apply a function which takes the parameter by value.
Source§

fn apply_ref<F>(&self, f: F) -> Res
where F: FnOnce(&Self) -> Res,

Apply a function which takes the parameter by shared reference.
Source§

fn apply_mut<F>(&mut self, f: F) -> Res
where F: FnOnce(&mut Self) -> Res,

Apply a function which takes the parameter by exclusive reference.
Source§

impl<T> Az for T

Source§

fn az<Dst>(self) -> Dst
where T: Cast<Dst>,

Casts the value.
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<Src, Dst> CastFrom<Src> for Dst
where Src: Cast<Dst>,

Source§

fn cast_from(src: Src) -> Dst

Casts the value.
Source§

impl<T> CheckedAs for T

Source§

fn checked_as<Dst>(self) -> Option<Dst>
where T: CheckedCast<Dst>,

Casts the value.
Source§

impl<Src, Dst> CheckedCastFrom<Src> for Dst
where Src: CheckedCast<Dst>,

Source§

fn checked_cast_from(src: Src) -> Option<Dst>

Casts the value.
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> OverflowingAs for T

Source§

fn overflowing_as<Dst>(self) -> (Dst, bool)
where T: OverflowingCast<Dst>,

Casts the value.
Source§

impl<Src, Dst> OverflowingCastFrom<Src> for Dst
where Src: OverflowingCast<Dst>,

Source§

fn overflowing_cast_from(src: Src) -> (Dst, bool)

Casts the value.
Source§

impl<T> SaturatingAs for T

Source§

fn saturating_as<Dst>(self) -> Dst
where T: SaturatingCast<Dst>,

Casts the value.
Source§

impl<Src, Dst> SaturatingCastFrom<Src> for Dst
where Src: SaturatingCast<Dst>,

Source§

fn saturating_cast_from(src: Src) -> Dst

Casts the value.
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> UnwrappedAs for T

Source§

fn unwrapped_as<Dst>(self) -> Dst
where T: UnwrappedCast<Dst>,

Casts the value.
Source§

impl<Src, Dst> UnwrappedCastFrom<Src> for Dst
where Src: UnwrappedCast<Dst>,

Source§

fn unwrapped_cast_from(src: Src) -> Dst

Casts the value.
Source§

impl<T> WrappingAs for T

Source§

fn wrapping_as<Dst>(self) -> Dst
where T: WrappingCast<Dst>,

Casts the value.
Source§

impl<Src, Dst> WrappingCastFrom<Src> for Dst
where Src: WrappingCast<Dst>,

Source§

fn wrapping_cast_from(src: Src) -> Dst

Casts the value.
Source§

impl<T> Bounded for T

Source§

impl<T> ConstBounded for T

Source§

impl<T, Rhs, Output> NumOps<Rhs, Output> for T
where T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,

Source§

impl<T> Signed for T
where T: Positive + Negative,