pub struct Integer8(pub i8);Expand description
Tuple Fields§
§0: i8Implementations§
Source§impl Integer8
§Methods for all integers
impl Integer8
§Methods for all integers
Sourcepub const fn is_multiple_of(&self, other: &Self) -> bool
pub const fn is_multiple_of(&self, other: &Self) -> bool
Returns true if this integer is a multiple of the other.
Sourcepub const fn is_divisor_of(&self, other: &Self) -> bool
pub const fn is_divisor_of(&self, other: &Self) -> bool
Returns true if this integer is a divisor of the other.
Sourcepub const fn is_coprime(&self, other: &Self) -> bool
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§impl Integer8
§Methods for non-negative integers
impl Integer8
§Methods for non-negative integers
Source§impl Integer8
§Addition
impl Integer8
§Addition
Sourcepub const fn add(self, rhs: Integer8) -> Integer8
pub const fn add(self, rhs: Integer8) -> Integer8
Integer addition.
§Panics
Panics in debug, on overflow. While in release, it performs two’s complement wrapping.
Sourcepub const fn checked_add(self, rhs: Integer8) -> Option<Integer8>
pub const fn checked_add(self, rhs: Integer8) -> Option<Integer8>
Checked addition.
Returns None on overflow.
Sourcepub const fn saturating_add(self, rhs: Integer8) -> Integer8
pub const fn saturating_add(self, rhs: Integer8) -> Integer8
Saturating addition.
Computes self + rhs, saturating at the numeric bounds instead of overflowing.
Sourcepub const fn wrapping_add(self, rhs: Integer8) -> Integer8
pub const fn wrapping_add(self, rhs: Integer8) -> Integer8
Wrapping (modular) addition.
Computes self + rhs, wrapping around at the boundary of the type.
Sourcepub const fn overflowing_add(self, rhs: Integer8) -> (Integer8, bool)
pub const fn overflowing_add(self, rhs: Integer8) -> (Integer8, 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 Integer8
§Division
§Comparison of division functions
§Only the quotient:
dividend|divisor||float||trunc|euclid|floor|ceil||away|even|
:——:|:—–:||:—–:||:—–:|:——:|:––:|:—–:||:––:|:––:|
7 | 3 || 2.33… || 2 | 2 | 2 | 3 || 2 | 2 |
7 | -3 || “ || -2 | -2 | -3 | -2 || -2 | -2 |
-7 | 3 || “ || -2 | -3 | -3 | -2 || -2 | -2 |
-7 | -3 || “ || 2 | 3 | 2 | 3 || 2 | 2 |
| || || | | | || | |
8 | 5 || 1.6 || 1 | 1 | 1 | 2 || 2 | 2 |
6 | 4 || 1.5 || 1 | 1 | 1 | 2 || 2 | 2 |
7 | 5 || 1.25 || 1 | 1 | 1 | 2 || 1 | 2 |
impl Integer8
§Division
§Comparison of division functions
§Only the quotient:
dividend|divisor||float||trunc|euclid|floor|ceil||away|even| :——:|:—–:||:—–:||:—–:|:——:|:––:|:—–:||:––:|:––:| 7 | 3 || 2.33… || 2 | 2 | 2 | 3 || 2 | 2 | 7 | -3 || “ || -2 | -2 | -3 | -2 || -2 | -2 | -7 | 3 || “ || -2 | -3 | -3 | -2 || -2 | -2 | -7 | -3 || “ || 2 | 3 | 2 | 3 || 2 | 2 | | || || | | | || | | 8 | 5 || 1.6 || 1 | 1 | 1 | 2 || 2 | 2 | 6 | 4 || 1.5 || 1 | 1 | 1 | 2 || 2 | 2 | 7 | 5 || 1.25 || 1 | 1 | 1 | 2 || 1 | 2 |
Sourcepub const fn div_trunc(self, rhs: Integer8) -> Integer8
pub const fn div_trunc(self, rhs: Integer8) -> Integer8
Truncated division.
Rounds the quotient towards zero, or away from infinity.
§Panics
If rhs is 0 or if division results in overflow.
§Examples
assert_eq![Z8::new(7).div_trunc(Z8::new(3)), Z8::new(2)];
assert_eq![Z8::new(7).div_trunc(Z8::new(-3)), Z8::new(-2)];
assert_eq![Z8::new(-7).div_trunc(Z8::new(3)), Z8::new(-2)];
assert_eq![Z8::new(-7).div_trunc(Z8::new(-3)), Z8::new(2)];
// tie-breaking
assert_eq![Z8::new(8).div_trunc(Z8::new(5)), Z8::new(1)]; // 8/5 = 1.6 => 1
assert_eq![Z8::new(6).div_trunc(Z8::new(4)), Z8::new(1)]; // 6/4 = 1.5 => 1
assert_eq![Z8::new(7).div_trunc(Z8::new(5)), Z8::new(1)]; // 7/5 = 1.4 => 1Sourcepub const fn checked_div_trunc(self, rhs: Integer8) -> Option<Integer8>
pub const fn checked_div_trunc(self, rhs: Integer8) -> Option<Integer8>
Returns the checked truncated division.
Rounds the quotient towards zero, or away from infinity.
§Examples
// invalid operands
assert_eq![Z8::new(7).checked_div_trunc(Z8::new(0)), None]; // division by 0
assert_eq![Z8::MIN.checked_div_trunc(Z8::new(-1)), None]; // overflowSourcepub const fn div_euclid(self, rhs: Integer8) -> Integer8
pub const fn div_euclid(self, rhs: Integer8) -> Integer8
Returns the euclidean division.
Ensures that the remainder is always non-negative and smaller than the divisor.
§Panics
If rhs is 0 or if division results in overflow.
§Examples
assert_eq![Z8::new(7).div_euclid(Z8::new(3)), Z8::new(2)];
assert_eq![Z8::new(7).div_euclid(Z8::new(-3)), Z8::new(-2)];
assert_eq![Z8::new(-7).div_euclid(Z8::new(3)), Z8::new(-3)];
assert_eq![Z8::new(-7).div_euclid(Z8::new(-3)), Z8::new(3)];
// tie-breaking
assert_eq![Z8::new(8).div_trunc(Z8::new(5)), Z8::new(1)]; // 8/5 = 1.6 => 1
assert_eq![Z8::new(6).div_trunc(Z8::new(4)), Z8::new(1)]; // 6/4 = 1.5 => 1
assert_eq![Z8::new(7).div_trunc(Z8::new(5)), Z8::new(1)]; // 7/5 = 1.4 => 1Sourcepub const fn checked_div_euclid(self, rhs: Integer8) -> Option<Integer8>
pub const fn checked_div_euclid(self, rhs: Integer8) -> Option<Integer8>
Returns the checked euclidean division.
Ensures that the remainder is always non-negative and smaller than the divisor.
§Examples
// invalid operands
assert_eq![Z8::new(7).checked_div_euclid(Z8::new(0)), None]; // division by 0
assert_eq![Z8::MIN.checked_div_euclid(Z8::new(-1)), None]; // overflowSourcepub const fn div_floor(self, rhs: Integer8) -> Integer8
pub const fn div_floor(self, rhs: Integer8) -> Integer8
Returns the floored division
Rounds the quotient towards negative infinity.
§Panics
If rhs is 0 or if the division results in overflow.
§Notation
$ \left\lfloor \frac{x}{y} \right\rfloor $
§Examples
assert_eq![Z8::new(7).div_floor(Z8::new(3)), Z8::new(2)];
assert_eq![Z8::new(7).div_floor(Z8::new(-3)), Z8::new(-3)];
assert_eq![Z8::new(-7).div_floor(Z8::new(3)), Z8::new(-3)];
assert_eq![Z8::new(-7).div_floor(Z8::new(-3)), Z8::new(2)];
// tie-breaking
assert_eq![Z8::new(8).div_trunc(Z8::new(5)), Z8::new(1)]; // 8/5 = 1.6 => 1
assert_eq![Z8::new(6).div_trunc(Z8::new(4)), Z8::new(1)]; // 6/4 = 1.5 => 1
assert_eq![Z8::new(7).div_trunc(Z8::new(5)), Z8::new(1)]; // 7/5 = 1.4 => 1Sourcepub const fn checked_div_floor(self, rhs: Integer8) -> Option<Integer8>
pub const fn checked_div_floor(self, rhs: Integer8) -> Option<Integer8>
Returns the checked floored division.
Rounds the quotient towards negative infinity.
§Notation
$ \left\lfloor \frac{x}{y} \right\rfloor $
§Examples
// invalid operands
assert_eq![Z8::new(7).checked_div_floor(Z8::new(0)), None]; // division by 0
assert_eq![Z8::MIN.checked_div_floor(Z8::new(-1)), None]; // overflowSourcepub const fn div_ceil(self, rhs: Integer8) -> Integer8
pub const fn div_ceil(self, rhs: Integer8) -> Integer8
Returns the ceiled division.
Rounds the quotient towards positive infinity.
§Notation
$ \left\lceil \frac{x}{y} \right\rceil $
§Examples
assert_eq![Z8::new(7).div_ceil(Z8::new(3)), Z8::new(3)];
assert_eq![Z8::new(7).div_ceil(Z8::new(-3)), Z8::new(-2)];
assert_eq![Z8::new(-7).div_ceil(Z8::new(3)), Z8::new(-2)];
assert_eq![Z8::new(-7).div_ceil(Z8::new(-3)), Z8::new(3)];
// tie-breaking
assert_eq![Z8::new(8).div_ceil(Z8::new(5)), Z8::new(2)]; // 8/5 = 1.6 => 2
assert_eq![Z8::new(6).div_ceil(Z8::new(4)), Z8::new(2)]; // 6/4 = 1.5 => 2
assert_eq![Z8::new(7).div_ceil(Z8::new(5)), Z8::new(2)]; // 7/5 = 1.4 => 2Sourcepub const fn checked_div_ceil(self, rhs: Integer8) -> Option<Integer8>
pub const fn checked_div_ceil(self, rhs: Integer8) -> Option<Integer8>
Returns the checked ceiled division.
Rounds the quotient towards positive infinity.
§Notation
$ \left\lceil \frac{x}{y} \right\rceil $
§Examples
// invalid operands
assert_eq![Z8::new(7).checked_div_ceil(Z8::new(0)), None]; // division by 0
assert_eq![Z8::MIN.checked_div_ceil(Z8::new(-1)), None]; // overflowSourcepub const fn div_half_away(self, rhs: Integer8) -> Integer8
pub const fn div_half_away(self, rhs: Integer8) -> Integer8
Returns the rounded division half away from 0.
Rounds the quotient to the nearest integer, tie-breaking away from 0 (w).
§Panics
If rhs is 0 or if the division results in overflow.
§Examples
assert_eq![Z8::new(7).div_half_away(Z8::new(3)), Z8::new(2)];
assert_eq![Z8::new(7).div_half_away(Z8::new(-3)), Z8::new(-2)];
assert_eq![Z8::new(-7).div_half_away(Z8::new(3)), Z8::new(-2)];
assert_eq![Z8::new(-7).div_half_away(Z8::new(-3)), Z8::new(2)];
// half tie-breaking
assert_eq![Z8::new(6).div_half_away(Z8::new(4)), Z8::new(2)]; // 6/4 = 1.5 => 2
assert_eq![Z8::new(7).div_half_away(Z8::new(5)), Z8::new(1)]; // 7/5 = 1.25 => 1Sourcepub const fn checked_div_half_away(self, rhs: Integer8) -> Option<Integer8>
pub const fn checked_div_half_away(self, rhs: Integer8) -> Option<Integer8>
Returns the checked rounded division half away from 0.
Rounds the quotient to the nearest integer, tie-breaking away from 0 (w).
§Examples
// invalid operands
assert_eq![Z8::new(7).checked_div_half_away(Z8::new(0)), None]; // division by 0
assert_eq![Z8::MIN.checked_div_half_away(Z8::new(-1)), None]; // overflowSourcepub const fn div_half_even(self, rhs: Integer8) -> Integer8
pub const fn div_half_even(self, rhs: Integer8) -> Integer8
Returns the rounded division half to even.
Rounds the quotient to the nearest integer, tie-breaking to the nearest even number.
This is also known as bankers’ rounding and is often the default rounding method, since it helps eliminate positive/negative bias and bias towards/away from zero (w).
§Panics
If rhs is 0 or if the division results in overflow.
§Examples
assert_eq![Z8::new(7).div_half_even(Z8::new(3)), Z8::new(2)];
assert_eq![Z8::new(7).div_half_even(Z8::new(-3)), Z8::new(-2)];
assert_eq![Z8::new(-7).div_half_even(Z8::new(3)), Z8::new(-2)];
assert_eq![Z8::new(-7).div_half_even(Z8::new(-3)), Z8::new(2)];
// half tie-breaking
assert_eq![Z8::new(6).div_half_even(Z8::new(4)), Z8::new(2)]; // 6/4 = 1.5 => 2
assert_eq![Z8::new(7).div_half_even(Z8::new(5)), Z8::new(2)]; // 7/5 = 1.25 => 2Sourcepub const fn checked_div_half_even(self, rhs: Integer8) -> Option<Integer8>
pub const fn checked_div_half_even(self, rhs: Integer8) -> Option<Integer8>
Returns the checked rounded division half to even.
Rounds the quotient to the nearest integer, tie-breaking to the nearest even number.
This is also known as bankers’ rounding and is often the default rounding method, since it helps eliminate positive/negative bias and bias towards/away from zero (w).
§Examples
// invalid operands
assert_eq![Z8::new(7).checked_div_half_away(Z8::new(0)), None]; // division by 0
assert_eq![Z8::MIN.checked_div_half_away(Z8::new(-1)), None]; // overflowSource§impl Integer8
§Division and remainder
impl Integer8
§Division and remainder
Sourcepub const fn div_rem_trunc(self, rhs: Integer8) -> (Integer8, Integer8)
pub const fn div_rem_trunc(self, rhs: Integer8) -> (Integer8, Integer8)
Returns the truncated (quotient, remainder).
§Panics
If rhs is 0 or if division results in overflow.
assert_eq![Z8::new(7).div_rem_trunc(Z8::new(3)), (Z8::new(2), Z8::new(1))];
assert_eq![Z8::new(7).div_rem_trunc(Z8::new(-3)), (Z8::new(-2), Z8::new(1))];
assert_eq![Z8::new(-7).div_rem_trunc(Z8::new(3)), (Z8::new(-2), Z8::new(-1))];
assert_eq![Z8::new(-7).div_rem_trunc(Z8::new(-3)), (Z8::new(2), Z8::new(-1))];Sourcepub const fn div_rem_euclid(self, rhs: Integer8) -> (Integer8, Integer8)
pub const fn div_rem_euclid(self, rhs: Integer8) -> (Integer8, Integer8)
Returns the euclidean (quotient, remainder).
§Panics
If rhs is 0 or if division results in overflow.
§Examples
assert_eq![Z8::new(7).div_rem_euclid(Z8::new(3)), (Z8::new(2), Z8::new(1))];
assert_eq![Z8::new(7).div_rem_euclid(Z8::new(-3)), (Z8::new(-2), Z8::new(1))];
assert_eq![Z8::new(-7).div_rem_euclid(Z8::new(3)), (Z8::new(-3), Z8::new(2))];
assert_eq![Z8::new(-7).div_rem_euclid(Z8::new(-3)), (Z8::new(3), Z8::new(2))];Sourcepub const fn div_rem_ceil(self, rhs: Integer8) -> (Integer8, Integer8)
pub const fn div_rem_ceil(self, rhs: Integer8) -> (Integer8, Integer8)
Returns the ceiled (quotient, remainder).
§Panics
If rhs is 0 or if division results in overflow.
§Examples
assert_eq![Z8::new(7).div_rem_ceil(Z8::new(3)), (Z8::new(3), Z8::new(-2))];
assert_eq![Z8::new(7).div_rem_ceil(Z8::new(-3)), (Z8::new(-2), Z8::new(1))];
assert_eq![Z8::new(-7).div_rem_ceil(Z8::new(3)), (Z8::new(-2), Z8::new(-1))];
assert_eq![Z8::new(-7).div_rem_ceil(Z8::new(-3)), (Z8::new(3), Z8::new(2))];Sourcepub const fn div_rem_floor(self, rhs: Integer8) -> (Integer8, Integer8)
pub const fn div_rem_floor(self, rhs: Integer8) -> (Integer8, Integer8)
Returns the floored (quotient, remainder).
§Panics
If rhs is 0 or if division results in overflow.
§Examples
assert_eq![Z8::new(7).div_rem_floor(Z8::new(3)), (Z8::new(2), Z8::new(1))];
assert_eq![Z8::new(7).div_rem_floor(Z8::new(-3)), (Z8::new(-3), Z8::new(-2))];
assert_eq![Z8::new(-7).div_rem_floor(Z8::new(3)), (Z8::new(-3), Z8::new(2))];
assert_eq![Z8::new(-7).div_rem_floor(Z8::new(-3)), (Z8::new(2), Z8::new(-1))];Source§impl Integer8
§Multiplication
impl Integer8
§Multiplication
Sourcepub const fn mul(self, rhs: Integer8) -> Integer8
pub const fn mul(self, rhs: Integer8) -> Integer8
Integer multiplication.
§Panics
Panics in debug, on overflow. While in release, it performs two’s complement wrapping.
Sourcepub const fn checked_mul(self, rhs: Integer8) -> Option<Integer8>
pub const fn checked_mul(self, rhs: Integer8) -> Option<Integer8>
Checked integer multiplication.
Returns None on overflow.
Sourcepub const fn saturating_mul(self, rhs: Integer8) -> Integer8
pub const fn saturating_mul(self, rhs: Integer8) -> Integer8
Saturating multiplication.
Computes self + rhs, saturating at the numeric bounds instead of overflowing.
Sourcepub const fn wrapping_mul(self, rhs: Integer8) -> Integer8
pub const fn wrapping_mul(self, rhs: Integer8) -> Integer8
Wrapping (modular) multiplication.
Computes self + rhs, wrapping around at the boundary of the type.
Sourcepub const fn overflowing_mul(self, rhs: Integer8) -> (Integer8, bool)
pub const fn overflowing_mul(self, rhs: Integer8) -> (Integer8, bool)
Overflowing multiplication.
Returns a tuple of the multiplication 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 Integer8
§Negation
impl Integer8
§Negation
Sourcepub const fn neg(self) -> Integer8
pub const fn neg(self) -> Integer8
Basic negation. Computes -self.
§Panics
Panics in debug, if self == MIN.
While in release, it returns MIN,
same as wrapping_neg
Sourcepub const fn checked_neg(self) -> Option<Integer8>
pub const fn checked_neg(self) -> Option<Integer8>
Checked negation.
Computes -self, returning None if self == MIN instead of overflowing.
Sourcepub const fn saturating_neg(self) -> Integer8
pub const fn saturating_neg(self) -> Integer8
Saturating negation.
Computes -self, returning MAX if self == MIN instead of overflowing.
Sourcepub const fn wrapping_neg(self) -> Integer8
pub const fn wrapping_neg(self) -> Integer8
Wrapping negation.
Computes -self, returning MIN if self == MIN instead of overflowing.
Sourcepub const fn overflowing_neg(self) -> (Integer8, bool)
pub const fn overflowing_neg(self) -> (Integer8, bool)
Overflowing negation. Negates self, overflowing if this is equal to the minimum value.
Returns a tuple of the negated version along with a boolean
indicating whether an arithmetic overflow happened.
If self == MIN then (MIN, true) is returned.
Source§impl Integer8
§Exponentiation
impl Integer8
§Exponentiation
Sourcepub const fn pow(self, exp: u32) -> Integer8
pub const fn pow(self, exp: u32) -> Integer8
Integer exponentiation.
Raises self to the power of exp
§Panics
Panics in debug, on overflow. While in release, it performs two’s complement wrapping.
Sourcepub const fn checked_pow(self, exp: u32) -> Option<Integer8>
pub const fn checked_pow(self, exp: u32) -> Option<Integer8>
Checked integer exponentiation.
Returns None on overflow.
Sourcepub const fn saturating_pow(self, exp: u32) -> Integer8
pub const fn saturating_pow(self, exp: u32) -> Integer8
Saturating integer exponentiation.
Raises self to the power of exp,
saturating at the numeric bounds instead of overflowing.
Sourcepub const fn wrapping_pow(self, exp: u32) -> Integer8
pub const fn wrapping_pow(self, exp: u32) -> Integer8
Wrapping (modular) integer exponentiation.
Raises self to the power of exp,
wrapping around at the boundary of the type.
Sourcepub const fn overflowing_pow(self, exp: u32) -> (Integer8, bool)
pub const fn overflowing_pow(self, exp: u32) -> (Integer8, bool)
Overflowing integer exponentiation.
Raises self to the power of exp,
Returns a tuple of the exponentiation along with a boolean indicating whether an overflow happened.
Source§impl Integer8
§Remainder
impl Integer8
§Remainder
Sourcepub const fn rem_trunc(self, rhs: Integer8) -> Integer8
pub const fn rem_trunc(self, rhs: Integer8) -> Integer8
Returns the truncated remainder operation.
This is the default remainder operation in Rust, C and Java.
It is based on truncated division, rounding the quotient towards zero, meaning the remainder has the same sign as the dividend.
§Notation
$ x \mod n $
§Examples
use numera::all::Z8;
assert_eq![Z8::new(-5).rem_trunc(Z8::new(2)), Z8::new(-1)];Sourcepub const fn rem_euclid(self, rhs: Integer8) -> Integer8
pub const fn rem_euclid(self, rhs: Integer8) -> Integer8
Returns the euclidean remainder operation.
This is often used in modular arithmetic, since it always returns a non-negative remainder.
It is based on euclidean division, whih ensures that the same value of x will always result in the same remainder when divided by the same value of y.
§Panics
If rhs is 0 or the division results in overflow.
§Examples
use numera::all::Z8;
assert_eq![Z8::new(-5).rem_euclid(Z8::new(2)), Z8::new(1)];Sourcepub const fn checked_rem_euclid(self, rhs: Integer8) -> Option<Integer8>
pub const fn checked_rem_euclid(self, rhs: Integer8) -> Option<Integer8>
Returns the checked Euclidean remainder operation.
Computes rem_euclid, returning None
if rhs == 0 or the division results in overflow.
§Examples
use numera::all::Z8;
assert_eq![Z8::new(-5).checked_rem_euclid(Z8::new(2)), Some(Z8::new(1))];
assert_eq![Z8::new(-5).checked_rem_euclid(Z8::new(0)), None];Sourcepub const fn rem_floor(self, rhs: Integer8) -> Integer8
pub const fn rem_floor(self, rhs: Integer8) -> Integer8
Returns the floored remainder operation.
Rounds the quotient towards negative infinity, differing from the truncated division in regard to negative numbers.
This is often used when the quotient represents the number of “groups” of a certain size that can be formed from a given number of items.
§Examples
use numera::all::Z8;
// TODOSource§impl Integer8
§Square root
impl Integer8
§Square root
Sourcepub fn is_square(self) -> bool
pub fn is_square(self) -> bool
Returns true if self is a perfect square,
meaning the square root of self is an integer.
Returns false otherwise, which includes all negative values.
§Algorithm
$$ \text{is\textunderscore square}(n) = \begin{cases} \text{true} & \text{if } \left(\lfloor \sqrt{n} \rfloor\right)^2 = n \cr \text{false} & \text{if } \left(\lfloor \sqrt{n} \rfloor\right)^2 \neq n \end{cases} $$
§Examples
use numera::all::Integer8;
assert_eq![Integer8(12).is_square(), false];
assert_eq![Integer8(13).is_square(), false];
assert_eq![Integer8(16).is_square(), true];
assert_eq![Integer8(20).is_square(), false];
assert_eq![Integer8(21).is_square(), false];Sourcepub fn sqrt_floor(self) -> Option<Integer8>
pub fn sqrt_floor(self) -> Option<Integer8>
Returns the floored integer square root.
Returns None if self is negative.
§Algorithm
$$ \left\lfloor \sqrt{x} \right\rfloor = n_{k} $$
Where $n_{k}$ is the result of a sequence of estimates that starts with an initial $n_{0} = x/2$ which is updated using Heron’s method:
$$ n_{i+1} = n_{i} - ( n_{i}^{2} - x) / 2n_{i}, \quad \small\text{for} \quad i = 0, 1, \ldots, k, $$
Where $n_{i}$ is the current estimate, $n_{i+1}$ is the next estimate, $x$ is self, and $k$ is the number of iterations needed to converge to a solution, on the order of the number of bits of self, about $O(\log_2 b)$, which for e.g. 128 bits would be $ ±7 $ iterations.
Hence, the function continues updating the estimate until
reaching $n_{k}$, which provides the largest integer less than
or equal to the square root of x.
§Examples
use numera::all::Integer8;
assert_eq![Integer8(12).sqrt_floor(), Some(Integer8(3))];
assert_eq![Integer8(13).sqrt_floor(), Some(Integer8(3))];
assert_eq![Integer8(16).sqrt_floor(), Some(Integer8(4))];
assert_eq![Integer8(20).sqrt_floor(), Some(Integer8(4))];
assert_eq![Integer8(21).sqrt_floor(), Some(Integer8(4))];Sourcepub fn sqrt_ceil(self) -> Option<Integer8>
pub fn sqrt_ceil(self) -> Option<Integer8>
Returns the ceiled integer square root.
Returns None if self is negative.
§Algorithm
$$ \begin{align} \notag \left\lceil \sqrt{x} \thinspace\right\rceil = \begin{cases} n & \text{if } n^2 = x \cr n+1 & \text{if } n^2 < x \end{cases} \cr \notag \small\text{where } n = \lfloor \sqrt{x} \rfloor & \end{align} $$
§Examples
use numera::all::Integer8;
assert_eq![Integer8(12).sqrt_ceil(), Some(Integer8(4))];
assert_eq![Integer8(13).sqrt_ceil(), Some(Integer8(4))];
assert_eq![Integer8(16).sqrt_ceil(), Some(Integer8(4))];
assert_eq![Integer8(20).sqrt_ceil(), Some(Integer8(5))];
assert_eq![Integer8(21).sqrt_ceil(), Some(Integer8(5))];Sourcepub fn sqrt_round(self) -> Option<Integer8>
pub fn sqrt_round(self) -> Option<Integer8>
Returns the rounded integer square root.
Returns None if self is negative.
§Algorithm
$$ \begin{align} \notag \left\lfloor\sqrt{x} \thinspace\right\rceil = \begin{cases} n & \text{if } x - n^2 < (n+1)^2 - x \cr n+1 & \text{if } x - n^2 \geq (n+1)^2 - x \end{cases} \cr \notag \small\text{where } n = \lfloor \sqrt{x} \rfloor & \end{align} $$
§Examples
use numera::all::Integer8;
assert_eq![Integer8(12).sqrt_round(), Some(Integer8(3))];
assert_eq![Integer8(13).sqrt_round(), Some(Integer8(4))];
assert_eq![Integer8(16).sqrt_round(), Some(Integer8(4))];
assert_eq![Integer8(20).sqrt_round(), Some(Integer8(4))];
assert_eq![Integer8(21).sqrt_round(), Some(Integer8(5))];Sourcepub fn checked_sqrt_floor(self) -> Option<(Integer8, bool)>
pub fn checked_sqrt_floor(self) -> Option<(Integer8, bool)>
Returns the checked floored integer square root, as a tuple containing
sqrt_floor and is_square.
Returns None if self is negative.
§Examples
use numera::all::Integer8;
assert_eq![Integer8(12).checked_sqrt_floor(), Some((Integer8(3), false))];
assert_eq![Integer8(13).checked_sqrt_floor(), Some((Integer8(3), false))];
assert_eq![Integer8(16).checked_sqrt_floor(), Some((Integer8(4), true))];
assert_eq![Integer8(20).checked_sqrt_floor(), Some((Integer8(4), false))];
assert_eq![Integer8(21).checked_sqrt_floor(), Some((Integer8(4), false))];Sourcepub fn checked_sqrt_ceil(self) -> Option<(Integer8, bool)>
pub fn checked_sqrt_ceil(self) -> Option<(Integer8, bool)>
Returns the checked ceiled integer square root, as a tuple containing
sqrt_ceil and is_square.
Returns None if self is negative.
§Examples
use numera::all::Integer8;
assert_eq![Integer8(12).checked_sqrt_ceil(), Some((Integer8(4), false))];
assert_eq![Integer8(13).checked_sqrt_ceil(), Some((Integer8(4), false))];
assert_eq![Integer8(16).checked_sqrt_ceil(), Some((Integer8(4), true))];
assert_eq![Integer8(20).checked_sqrt_ceil(), Some((Integer8(5), false))];
assert_eq![Integer8(21).checked_sqrt_ceil(), Some((Integer8(5), false))];Sourcepub fn checked_sqrt_round(self) -> Option<(Integer8, bool)>
pub fn checked_sqrt_round(self) -> Option<(Integer8, bool)>
Returns the checked rounded integer square root, as a tuple containing
sqrt_round and is_square.
Returns None if self is negative.
§Examples
use numera::all::Integer8;
assert_eq![Integer8(12).checked_sqrt_round(), Some((Integer8(3), false))];
assert_eq![Integer8(13).checked_sqrt_round(), Some((Integer8(4), false))];
assert_eq![Integer8(16).checked_sqrt_round(), Some((Integer8(4), true))];
assert_eq![Integer8(20).checked_sqrt_round(), Some((Integer8(4), false))];
assert_eq![Integer8(21).checked_sqrt_round(), Some((Integer8(5), false))];Source§impl Integer8
§Subtraction
impl Integer8
§Subtraction
Sourcepub const fn sub(self, rhs: Integer8) -> Integer8
pub const fn sub(self, rhs: Integer8) -> Integer8
Integer subtraction.
§Panics
Panics in debug, on overflow. While in release, it performs two’s complement wrapping.
Sourcepub const fn checked_sub(self, rhs: Integer8) -> Option<Integer8>
pub const fn checked_sub(self, rhs: Integer8) -> Option<Integer8>
Checked subtraction.
Sourcepub const fn saturating_sub(self, rhs: Integer8) -> Integer8
pub const fn saturating_sub(self, rhs: Integer8) -> Integer8
Saturating subtraction.
Computes self + rhs, saturating at the numeric bounds instead of overflowing.
Sourcepub const fn wrapping_sub(self, rhs: Integer8) -> Integer8
pub const fn wrapping_sub(self, rhs: Integer8) -> Integer8
Wrapping (modular) subtraction.
Computes self + rhs, wrapping around at the boundary of the type.
Sourcepub const fn overflowing_sub(self, rhs: Integer8) -> (Integer8, bool)
pub const fn overflowing_sub(self, rhs: Integer8) -> (Integer8, bool)
Overflowing subtraction.
Returns a tuple of the subtraction 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 Integer8
§Methods for resizing
impl Integer8
§Methods for resizing
Sourcepub fn as_larger(&self) -> Integer16
pub fn as_larger(&self) -> Integer16
Returns the current number as the next larger bit-size.
This method is not implemented for the largest available bit-size.
Sourcepub fn as_larger_or_same(&self) -> Integer16
pub fn as_larger_or_same(&self) -> Integer16
Returns the current number as the next larger bit-size, or the same if there’s no larger one available.
Sourcepub fn try_as_larger(&self) -> NumeraResult<Integer16>
pub fn try_as_larger(&self) -> NumeraResult<Integer16>
Tries to return the current number as the next larger bit-size.
§Errors
If there’s no larger bit-size available.
Sourcepub fn as_smaller_or_same(&self) -> Integers
Available on crate feature try_from only.
pub fn as_smaller_or_same(&self) -> Integers
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.
Sourcepub fn try_as_smaller(&self) -> NumeraResult<Integer8>
Available on crate feature try_from only.
pub fn try_as_smaller(&self) -> NumeraResult<Integer8>
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 AddAssign for Integer8
impl AddAssign for Integer8
Source§fn add_assign(&mut self, rhs: Integer8)
fn add_assign(&mut self, rhs: Integer8)
Performs the += operation.
§Panics
Panics in debug, on overflow. While in release, it performs two’s complement wrapping.
Source§impl Bound for Integer8
impl Bound for Integer8
Source§fn is_lower_bounded(&self) -> bool
fn is_lower_bounded(&self) -> bool
Source§fn is_upper_bounded(&self) -> bool
fn is_upper_bounded(&self) -> bool
Source§fn lower_bound(&self) -> Option<Self>
fn lower_bound(&self) -> Option<Self>
Source§fn upper_bound(&self) -> Option<Self>
fn upper_bound(&self) -> Option<Self>
Source§impl ConstLowerBounded for Integer8
impl ConstLowerBounded for Integer8
Source§impl ConstNegOne for Integer8
impl ConstNegOne for Integer8
Source§impl ConstUpperBounded for Integer8
impl ConstUpperBounded for Integer8
Source§impl Count for Integer8
impl Count for Integer8
Source§fn is_countable(&self) -> bool
fn is_countable(&self) -> bool
true if the number is countable.Source§fn is_uncountable(&self) -> bool
fn is_uncountable(&self) -> bool
false if the number is countable.Source§impl Countable for Integer8
impl Countable for Integer8
Source§fn next(&self) -> NumeraResult<Self>
fn next(&self) -> NumeraResult<Self>
Source§fn previous(&self) -> NumeraResult<Self>
fn previous(&self) -> NumeraResult<Self>
Source§impl DivAssign for Integer8
impl DivAssign for Integer8
Source§fn div_assign(&mut self, rhs: Integer8)
fn div_assign(&mut self, rhs: Integer8)
Performs the /= operation.
§Panics
In debug, on overflow.
In release, it performs two’s complement wrapping.
Source§impl From<&Integer8> for Integer128
impl From<&Integer8> for Integer128
Source§impl From<&Integer8> for IntegerBig
Available on crate feature dashu-int only.
impl From<&Integer8> for IntegerBig
dashu-int only.Source§impl From<&Integer8> for Rational128
impl From<&Integer8> for Rational128
Source§impl From<&Integer8> for Rational16
impl From<&Integer8> for Rational16
Source§impl From<&Integer8> for Rational32
impl From<&Integer8> for Rational32
Source§impl From<&Integer8> for Rational64
impl From<&Integer8> for Rational64
Source§impl From<&NonZeroInteger8> for Integer8
impl From<&NonZeroInteger8> for Integer8
Source§fn from(f: &NonZeroInteger8) -> Self
fn from(f: &NonZeroInteger8) -> Self
Source§impl From<&mut Integer8> for Integer128
impl From<&mut Integer8> for Integer128
Source§impl From<&mut Integer8> for IntegerBig
Available on crate feature dashu-int only.
impl From<&mut Integer8> for IntegerBig
dashu-int only.Source§impl From<&mut Integer8> for Rational128
impl From<&mut Integer8> for Rational128
Source§impl From<&mut Integer8> for Rational16
impl From<&mut Integer8> for Rational16
Source§impl From<&mut Integer8> for Rational32
impl From<&mut Integer8> for Rational32
Source§impl From<&mut Integer8> for Rational64
impl From<&mut Integer8> for Rational64
Source§impl From<&mut NonZeroInteger8> for Integer8
impl From<&mut NonZeroInteger8> for Integer8
Source§fn from(f: &mut NonZeroInteger8) -> Self
fn from(f: &mut NonZeroInteger8) -> Self
Source§impl From<Integer8> for Integer128
impl From<Integer8> for Integer128
Source§impl From<Integer8> for IntegerBig
Available on crate feature dashu-int only.
impl From<Integer8> for IntegerBig
dashu-int only.Source§impl From<Integer8> for Rational128
impl From<Integer8> for Rational128
Source§impl From<Integer8> for Rational16
impl From<Integer8> for Rational16
Source§impl From<Integer8> for Rational32
impl From<Integer8> for Rational32
Source§impl From<Integer8> for Rational64
impl From<Integer8> for Rational64
Source§impl From<NonZeroInteger8> for Integer8
impl From<NonZeroInteger8> for Integer8
Source§fn from(f: NonZeroInteger8) -> Self
fn from(f: NonZeroInteger8) -> Self
Source§impl Ident for Integer8
impl Ident for Integer8
Source§fn can_neg_one(&self) -> bool
fn can_neg_one(&self) -> bool
true if the number can represent -1,
the additive inverse of the multiplicative identity. Read moreSource§fn is_neg_one(&self) -> bool
fn is_neg_one(&self) -> bool
true if the current value is -1,
the additive inverse of the multiplicative identity.Source§impl Integer for Integer8
impl Integer for Integer8
Source§fn integer_is_even(&self) -> bool
fn integer_is_even(&self) -> bool
true if this integer is even.Source§fn integer_is_multiple_of(&self, other: &Self) -> bool
fn integer_is_multiple_of(&self, other: &Self) -> bool
true if this integer is a multiple of the other.Source§fn integer_is_prime(&self) -> Option<bool>
fn integer_is_prime(&self) -> Option<bool>
Some(true) if this integer is prime, Some(false) if it’s not
prime, or None if it can not be determined. Read moreSource§fn integer_gcd(&self, other: &Self) -> Option<Self>
fn integer_gcd(&self, other: &Self) -> Option<Self>
other. Read moreSource§fn integer_lcm(&self, other: &Self) -> Option<Self>
fn integer_lcm(&self, other: &Self) -> Option<Self>
other. Read moreSource§fn integer_digits(&self) -> usize
fn integer_digits(&self) -> usize
Source§fn integer_is_odd(&self) -> bool
fn integer_is_odd(&self) -> bool
true if this integer is odd.Source§fn integer_is_divisor_of(&self, other: &Self) -> bool
fn integer_is_divisor_of(&self, other: &Self) -> bool
true if this integer is a divisor of the other.Source§impl LowerBounded for Integer8
impl LowerBounded for Integer8
Source§impl MulAssign for Integer8
impl MulAssign for Integer8
Source§fn mul_assign(&mut self, rhs: Integer8)
fn mul_assign(&mut self, rhs: Integer8)
Performs the *= operation.
§Panics
Panics in debug, on overflow. While in release, it performs two’s complement wrapping.
Source§impl NegOne for Integer8
impl NegOne for Integer8
Source§fn new_neg_one() -> Self
fn new_neg_one() -> Self
-1.Source§fn set_neg_one(&mut self)where
Self: Sized,
fn set_neg_one(&mut self)where
Self: Sized,
-1.Source§impl Number for Integer8
impl Number for Integer8
Source§fn from_inner_repr(value: Self::InnerRepr) -> NumeraResult<Self>
fn from_inner_repr(value: Self::InnerRepr) -> NumeraResult<Self>
Source§unsafe fn from_inner_repr_unchecked(value: Self::InnerRepr) -> Self
Available on crate feature not(safe) only.
unsafe fn from_inner_repr_unchecked(value: Self::InnerRepr) -> Self
not(safe) only.Source§fn from_innermost_repr(value: Self::InnermostRepr) -> NumeraResult<Self>
fn from_innermost_repr(value: Self::InnermostRepr) -> NumeraResult<Self>
Source§unsafe fn from_innermost_repr_unchecked(value: Self::InnermostRepr) -> Self
Available on crate feature not(safe) only.
unsafe fn from_innermost_repr_unchecked(value: Self::InnermostRepr) -> Self
not(safe) only.Source§type InnermostRepr = i8
type InnermostRepr = i8
Source§fn into_inner_repr(self) -> Self::InnerRepr
fn into_inner_repr(self) -> Self::InnerRepr
Source§fn into_innermost_repr(self) -> Self::InnermostRepr
fn into_innermost_repr(self) -> Self::InnermostRepr
Source§fn try_from_inner_repr(inner: impl Into<Self::InnerRepr>) -> NumeraResult<Self>where
Self: Sized,
fn try_from_inner_repr(inner: impl Into<Self::InnerRepr>) -> NumeraResult<Self>where
Self: Sized,
inner representation. Read moreSource§impl Ord for Integer8
impl Ord for Integer8
Source§impl PartialOrd for Integer8
impl PartialOrd for Integer8
Source§impl RemAssign for Integer8
impl RemAssign for Integer8
Source§fn rem_assign(&mut self, rhs: Integer8)
fn rem_assign(&mut self, rhs: Integer8)
Performs the %= operation.
Source§impl Sign for Integer8
impl Sign for Integer8
Source§fn can_negative(&self) -> bool
fn can_negative(&self) -> bool
true if the type can represent negative numbers.Source§fn can_positive(&self) -> bool
fn can_positive(&self) -> bool
true if the type can represent positive numbers.Source§fn is_negative(&self) -> bool
fn is_negative(&self) -> bool
true if the value is negative (< 0).Source§fn is_positive(&self) -> bool
fn is_positive(&self) -> bool
true if the value is positive (> 0).Source§impl SubAssign for Integer8
impl SubAssign for Integer8
Source§fn sub_assign(&mut self, rhs: Integer8)
fn sub_assign(&mut self, rhs: Integer8)
Performs the -= operation.
§Panics
Panics in debug, on overflow. While in release, it performs two’s complement wrapping.
Source§impl TryFrom<&Integer128> for Integer8
Available on crate feature try_from only.
impl TryFrom<&Integer128> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &Integer128) -> NumeraResult<Integer8>
fn try_from(f: &Integer128) -> NumeraResult<Integer8>
Source§impl TryFrom<&Integer16> for Integer8
Available on crate feature try_from only.
impl TryFrom<&Integer16> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&Integer32> for Integer8
Available on crate feature try_from only.
impl TryFrom<&Integer32> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&Integer64> for Integer8
Available on crate feature try_from only.
impl TryFrom<&Integer64> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&Integer8> for NegativeInteger128
Available on crate feature try_from only.
impl TryFrom<&Integer8> for NegativeInteger128
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &Integer8) -> NumeraResult<NegativeInteger128>
fn try_from(f: &Integer8) -> NumeraResult<NegativeInteger128>
Source§impl TryFrom<&Integer8> for NegativeInteger16
Available on crate feature try_from only.
impl TryFrom<&Integer8> for NegativeInteger16
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &Integer8) -> NumeraResult<NegativeInteger16>
fn try_from(f: &Integer8) -> NumeraResult<NegativeInteger16>
Source§impl TryFrom<&Integer8> for NegativeInteger32
Available on crate feature try_from only.
impl TryFrom<&Integer8> for NegativeInteger32
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &Integer8) -> NumeraResult<NegativeInteger32>
fn try_from(f: &Integer8) -> NumeraResult<NegativeInteger32>
Source§impl TryFrom<&Integer8> for NegativeInteger64
Available on crate feature try_from only.
impl TryFrom<&Integer8> for NegativeInteger64
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &Integer8) -> NumeraResult<NegativeInteger64>
fn try_from(f: &Integer8) -> NumeraResult<NegativeInteger64>
Source§impl TryFrom<&Integer8> for NegativeInteger8
Available on crate feature try_from only.
impl TryFrom<&Integer8> for NegativeInteger8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &Integer8) -> NumeraResult<NegativeInteger8>
fn try_from(f: &Integer8) -> NumeraResult<NegativeInteger8>
Source§impl TryFrom<&Integer8> for NonNegativeInteger128
Available on crate feature try_from only.
impl TryFrom<&Integer8> for NonNegativeInteger128
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &Integer8) -> NumeraResult<NonNegativeInteger128>
fn try_from(f: &Integer8) -> NumeraResult<NonNegativeInteger128>
Source§impl TryFrom<&Integer8> for NonNegativeInteger16
Available on crate feature try_from only.
impl TryFrom<&Integer8> for NonNegativeInteger16
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &Integer8) -> NumeraResult<NonNegativeInteger16>
fn try_from(f: &Integer8) -> NumeraResult<NonNegativeInteger16>
Source§impl TryFrom<&Integer8> for NonNegativeInteger32
Available on crate feature try_from only.
impl TryFrom<&Integer8> for NonNegativeInteger32
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &Integer8) -> NumeraResult<NonNegativeInteger32>
fn try_from(f: &Integer8) -> NumeraResult<NonNegativeInteger32>
Source§impl TryFrom<&Integer8> for NonNegativeInteger64
Available on crate feature try_from only.
impl TryFrom<&Integer8> for NonNegativeInteger64
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &Integer8) -> NumeraResult<NonNegativeInteger64>
fn try_from(f: &Integer8) -> NumeraResult<NonNegativeInteger64>
Source§impl TryFrom<&Integer8> for NonNegativeInteger8
Available on crate feature try_from only.
impl TryFrom<&Integer8> for NonNegativeInteger8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &Integer8) -> NumeraResult<NonNegativeInteger8>
fn try_from(f: &Integer8) -> NumeraResult<NonNegativeInteger8>
Source§impl TryFrom<&Integer8> for NonPositiveInteger128
Available on crate feature try_from only.
impl TryFrom<&Integer8> for NonPositiveInteger128
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &Integer8) -> NumeraResult<NonPositiveInteger128>
fn try_from(f: &Integer8) -> NumeraResult<NonPositiveInteger128>
Source§impl TryFrom<&Integer8> for NonPositiveInteger16
Available on crate feature try_from only.
impl TryFrom<&Integer8> for NonPositiveInteger16
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &Integer8) -> NumeraResult<NonPositiveInteger16>
fn try_from(f: &Integer8) -> NumeraResult<NonPositiveInteger16>
Source§impl TryFrom<&Integer8> for NonPositiveInteger32
Available on crate feature try_from only.
impl TryFrom<&Integer8> for NonPositiveInteger32
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &Integer8) -> NumeraResult<NonPositiveInteger32>
fn try_from(f: &Integer8) -> NumeraResult<NonPositiveInteger32>
Source§impl TryFrom<&Integer8> for NonPositiveInteger64
Available on crate feature try_from only.
impl TryFrom<&Integer8> for NonPositiveInteger64
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &Integer8) -> NumeraResult<NonPositiveInteger64>
fn try_from(f: &Integer8) -> NumeraResult<NonPositiveInteger64>
Source§impl TryFrom<&Integer8> for NonPositiveInteger8
Available on crate feature try_from only.
impl TryFrom<&Integer8> for NonPositiveInteger8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &Integer8) -> NumeraResult<NonPositiveInteger8>
fn try_from(f: &Integer8) -> NumeraResult<NonPositiveInteger8>
Source§impl TryFrom<&Integer8> for NonZeroI128
Available on crate feature try_from only.
impl TryFrom<&Integer8> for NonZeroI128
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &Integer8) -> NumeraResult<NonZeroI128>
fn try_from(f: &Integer8) -> NumeraResult<NonZeroI128>
Source§impl TryFrom<&Integer8> for NonZeroI16
Available on crate feature try_from only.
impl TryFrom<&Integer8> for NonZeroI16
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &Integer8) -> NumeraResult<NonZeroI16>
fn try_from(f: &Integer8) -> NumeraResult<NonZeroI16>
Source§impl TryFrom<&Integer8> for NonZeroI32
Available on crate feature try_from only.
impl TryFrom<&Integer8> for NonZeroI32
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &Integer8) -> NumeraResult<NonZeroI32>
fn try_from(f: &Integer8) -> NumeraResult<NonZeroI32>
Source§impl TryFrom<&Integer8> for NonZeroI64
Available on crate feature try_from only.
impl TryFrom<&Integer8> for NonZeroI64
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &Integer8) -> NumeraResult<NonZeroI64>
fn try_from(f: &Integer8) -> NumeraResult<NonZeroI64>
Source§impl TryFrom<&Integer8> for NonZeroI8
Available on crate feature try_from only.
impl TryFrom<&Integer8> for NonZeroI8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&Integer8> for NonZeroU128
Available on crate feature try_from only.
impl TryFrom<&Integer8> for NonZeroU128
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &Integer8) -> NumeraResult<NonZeroU128>
fn try_from(f: &Integer8) -> NumeraResult<NonZeroU128>
Source§impl TryFrom<&Integer8> for NonZeroU16
Available on crate feature try_from only.
impl TryFrom<&Integer8> for NonZeroU16
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &Integer8) -> NumeraResult<NonZeroU16>
fn try_from(f: &Integer8) -> NumeraResult<NonZeroU16>
Source§impl TryFrom<&Integer8> for NonZeroU32
Available on crate feature try_from only.
impl TryFrom<&Integer8> for NonZeroU32
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &Integer8) -> NumeraResult<NonZeroU32>
fn try_from(f: &Integer8) -> NumeraResult<NonZeroU32>
Source§impl TryFrom<&Integer8> for NonZeroU64
Available on crate feature try_from only.
impl TryFrom<&Integer8> for NonZeroU64
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &Integer8) -> NumeraResult<NonZeroU64>
fn try_from(f: &Integer8) -> NumeraResult<NonZeroU64>
Source§impl TryFrom<&Integer8> for NonZeroU8
Available on crate feature try_from only.
impl TryFrom<&Integer8> for NonZeroU8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&Integer8> for NonZeroInteger128
Available on crate feature try_from only.
impl TryFrom<&Integer8> for NonZeroInteger128
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &Integer8) -> NumeraResult<NonZeroInteger128>
fn try_from(f: &Integer8) -> NumeraResult<NonZeroInteger128>
Source§impl TryFrom<&Integer8> for NonZeroInteger16
Available on crate feature try_from only.
impl TryFrom<&Integer8> for NonZeroInteger16
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &Integer8) -> NumeraResult<NonZeroInteger16>
fn try_from(f: &Integer8) -> NumeraResult<NonZeroInteger16>
Source§impl TryFrom<&Integer8> for NonZeroInteger32
Available on crate feature try_from only.
impl TryFrom<&Integer8> for NonZeroInteger32
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &Integer8) -> NumeraResult<NonZeroInteger32>
fn try_from(f: &Integer8) -> NumeraResult<NonZeroInteger32>
Source§impl TryFrom<&Integer8> for NonZeroInteger64
Available on crate feature try_from only.
impl TryFrom<&Integer8> for NonZeroInteger64
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &Integer8) -> NumeraResult<NonZeroInteger64>
fn try_from(f: &Integer8) -> NumeraResult<NonZeroInteger64>
Source§impl TryFrom<&Integer8> for NonZeroInteger8
Available on crate feature try_from only.
impl TryFrom<&Integer8> for NonZeroInteger8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &Integer8) -> NumeraResult<NonZeroInteger8>
fn try_from(f: &Integer8) -> NumeraResult<NonZeroInteger8>
Source§impl TryFrom<&Integer8> for PositiveInteger128
Available on crate feature try_from only.
impl TryFrom<&Integer8> for PositiveInteger128
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &Integer8) -> NumeraResult<PositiveInteger128>
fn try_from(f: &Integer8) -> NumeraResult<PositiveInteger128>
Source§impl TryFrom<&Integer8> for PositiveInteger16
Available on crate feature try_from only.
impl TryFrom<&Integer8> for PositiveInteger16
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &Integer8) -> NumeraResult<PositiveInteger16>
fn try_from(f: &Integer8) -> NumeraResult<PositiveInteger16>
Source§impl TryFrom<&Integer8> for PositiveInteger32
Available on crate feature try_from only.
impl TryFrom<&Integer8> for PositiveInteger32
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &Integer8) -> NumeraResult<PositiveInteger32>
fn try_from(f: &Integer8) -> NumeraResult<PositiveInteger32>
Source§impl TryFrom<&Integer8> for PositiveInteger64
Available on crate feature try_from only.
impl TryFrom<&Integer8> for PositiveInteger64
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &Integer8) -> NumeraResult<PositiveInteger64>
fn try_from(f: &Integer8) -> NumeraResult<PositiveInteger64>
Source§impl TryFrom<&Integer8> for PositiveInteger8
Available on crate feature try_from only.
impl TryFrom<&Integer8> for PositiveInteger8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &Integer8) -> NumeraResult<PositiveInteger8>
fn try_from(f: &Integer8) -> NumeraResult<PositiveInteger8>
Source§impl TryFrom<&Integer8> for u128
Available on crate feature try_from only.
impl TryFrom<&Integer8> for u128
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&Integer8> for u16
Available on crate feature try_from only.
impl TryFrom<&Integer8> for u16
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&Integer8> for u32
Available on crate feature try_from only.
impl TryFrom<&Integer8> for u32
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&Integer8> for u64
Available on crate feature try_from only.
impl TryFrom<&Integer8> for u64
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&Integer8> for u8
Available on crate feature try_from only.
impl TryFrom<&Integer8> for u8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&NegativeInteger128> for Integer8
Available on crate feature try_from only.
impl TryFrom<&NegativeInteger128> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &NegativeInteger128) -> NumeraResult<Integer8>
fn try_from(f: &NegativeInteger128) -> NumeraResult<Integer8>
Source§impl TryFrom<&NegativeInteger16> for Integer8
Available on crate feature try_from only.
impl TryFrom<&NegativeInteger16> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &NegativeInteger16) -> NumeraResult<Integer8>
fn try_from(f: &NegativeInteger16) -> NumeraResult<Integer8>
Source§impl TryFrom<&NegativeInteger32> for Integer8
Available on crate feature try_from only.
impl TryFrom<&NegativeInteger32> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &NegativeInteger32) -> NumeraResult<Integer8>
fn try_from(f: &NegativeInteger32) -> NumeraResult<Integer8>
Source§impl TryFrom<&NegativeInteger64> for Integer8
Available on crate feature try_from only.
impl TryFrom<&NegativeInteger64> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &NegativeInteger64) -> NumeraResult<Integer8>
fn try_from(f: &NegativeInteger64) -> NumeraResult<Integer8>
Source§impl TryFrom<&NegativeInteger8> for Integer8
Available on crate feature try_from only.
impl TryFrom<&NegativeInteger8> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &NegativeInteger8) -> NumeraResult<Integer8>
fn try_from(f: &NegativeInteger8) -> NumeraResult<Integer8>
Source§impl TryFrom<&NonNegativeInteger128> for Integer8
Available on crate feature try_from only.
impl TryFrom<&NonNegativeInteger128> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &NonNegativeInteger128) -> NumeraResult<Integer8>
fn try_from(f: &NonNegativeInteger128) -> NumeraResult<Integer8>
Source§impl TryFrom<&NonNegativeInteger16> for Integer8
Available on crate feature try_from only.
impl TryFrom<&NonNegativeInteger16> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &NonNegativeInteger16) -> NumeraResult<Integer8>
fn try_from(f: &NonNegativeInteger16) -> NumeraResult<Integer8>
Source§impl TryFrom<&NonNegativeInteger32> for Integer8
Available on crate feature try_from only.
impl TryFrom<&NonNegativeInteger32> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &NonNegativeInteger32) -> NumeraResult<Integer8>
fn try_from(f: &NonNegativeInteger32) -> NumeraResult<Integer8>
Source§impl TryFrom<&NonNegativeInteger64> for Integer8
Available on crate feature try_from only.
impl TryFrom<&NonNegativeInteger64> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &NonNegativeInteger64) -> NumeraResult<Integer8>
fn try_from(f: &NonNegativeInteger64) -> NumeraResult<Integer8>
Source§impl TryFrom<&NonNegativeInteger8> for Integer8
Available on crate feature try_from only.
impl TryFrom<&NonNegativeInteger8> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &NonNegativeInteger8) -> NumeraResult<Integer8>
fn try_from(f: &NonNegativeInteger8) -> NumeraResult<Integer8>
Source§impl TryFrom<&NonPositiveInteger128> for Integer8
Available on crate feature try_from only.
impl TryFrom<&NonPositiveInteger128> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &NonPositiveInteger128) -> NumeraResult<Integer8>
fn try_from(f: &NonPositiveInteger128) -> NumeraResult<Integer8>
Source§impl TryFrom<&NonPositiveInteger16> for Integer8
Available on crate feature try_from only.
impl TryFrom<&NonPositiveInteger16> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &NonPositiveInteger16) -> NumeraResult<Integer8>
fn try_from(f: &NonPositiveInteger16) -> NumeraResult<Integer8>
Source§impl TryFrom<&NonPositiveInteger32> for Integer8
Available on crate feature try_from only.
impl TryFrom<&NonPositiveInteger32> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &NonPositiveInteger32) -> NumeraResult<Integer8>
fn try_from(f: &NonPositiveInteger32) -> NumeraResult<Integer8>
Source§impl TryFrom<&NonPositiveInteger64> for Integer8
Available on crate feature try_from only.
impl TryFrom<&NonPositiveInteger64> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &NonPositiveInteger64) -> NumeraResult<Integer8>
fn try_from(f: &NonPositiveInteger64) -> NumeraResult<Integer8>
Source§impl TryFrom<&NonPositiveInteger8> for Integer8
Available on crate feature try_from only.
impl TryFrom<&NonPositiveInteger8> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &NonPositiveInteger8) -> NumeraResult<Integer8>
fn try_from(f: &NonPositiveInteger8) -> NumeraResult<Integer8>
Source§impl TryFrom<&NonZero<i128>> for Integer8
Available on crate feature try_from only.
impl TryFrom<&NonZero<i128>> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &NonZeroI128) -> NumeraResult<Integer8>
fn try_from(f: &NonZeroI128) -> NumeraResult<Integer8>
Source§impl TryFrom<&NonZero<i16>> for Integer8
Available on crate feature try_from only.
impl TryFrom<&NonZero<i16>> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &NonZeroI16) -> NumeraResult<Integer8>
fn try_from(f: &NonZeroI16) -> NumeraResult<Integer8>
Source§impl TryFrom<&NonZero<i32>> for Integer8
Available on crate feature try_from only.
impl TryFrom<&NonZero<i32>> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &NonZeroI32) -> NumeraResult<Integer8>
fn try_from(f: &NonZeroI32) -> NumeraResult<Integer8>
Source§impl TryFrom<&NonZero<i64>> for Integer8
Available on crate feature try_from only.
impl TryFrom<&NonZero<i64>> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &NonZeroI64) -> NumeraResult<Integer8>
fn try_from(f: &NonZeroI64) -> NumeraResult<Integer8>
Source§impl TryFrom<&NonZero<u128>> for Integer8
Available on crate feature try_from only.
impl TryFrom<&NonZero<u128>> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &NonZeroU128) -> NumeraResult<Integer8>
fn try_from(f: &NonZeroU128) -> NumeraResult<Integer8>
Source§impl TryFrom<&NonZero<u16>> for Integer8
Available on crate feature try_from only.
impl TryFrom<&NonZero<u16>> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &NonZeroU16) -> NumeraResult<Integer8>
fn try_from(f: &NonZeroU16) -> NumeraResult<Integer8>
Source§impl TryFrom<&NonZero<u32>> for Integer8
Available on crate feature try_from only.
impl TryFrom<&NonZero<u32>> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &NonZeroU32) -> NumeraResult<Integer8>
fn try_from(f: &NonZeroU32) -> NumeraResult<Integer8>
Source§impl TryFrom<&NonZero<u64>> for Integer8
Available on crate feature try_from only.
impl TryFrom<&NonZero<u64>> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &NonZeroU64) -> NumeraResult<Integer8>
fn try_from(f: &NonZeroU64) -> NumeraResult<Integer8>
Source§impl TryFrom<&NonZero<u8>> for Integer8
Available on crate feature try_from only.
impl TryFrom<&NonZero<u8>> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&NonZeroInteger128> for Integer8
Available on crate feature try_from only.
impl TryFrom<&NonZeroInteger128> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &NonZeroInteger128) -> NumeraResult<Integer8>
fn try_from(f: &NonZeroInteger128) -> NumeraResult<Integer8>
Source§impl TryFrom<&NonZeroInteger16> for Integer8
Available on crate feature try_from only.
impl TryFrom<&NonZeroInteger16> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &NonZeroInteger16) -> NumeraResult<Integer8>
fn try_from(f: &NonZeroInteger16) -> NumeraResult<Integer8>
Source§impl TryFrom<&NonZeroInteger32> for Integer8
Available on crate feature try_from only.
impl TryFrom<&NonZeroInteger32> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &NonZeroInteger32) -> NumeraResult<Integer8>
fn try_from(f: &NonZeroInteger32) -> NumeraResult<Integer8>
Source§impl TryFrom<&NonZeroInteger64> for Integer8
Available on crate feature try_from only.
impl TryFrom<&NonZeroInteger64> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &NonZeroInteger64) -> NumeraResult<Integer8>
fn try_from(f: &NonZeroInteger64) -> NumeraResult<Integer8>
Source§impl TryFrom<&PositiveInteger128> for Integer8
Available on crate feature try_from only.
impl TryFrom<&PositiveInteger128> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &PositiveInteger128) -> NumeraResult<Integer8>
fn try_from(f: &PositiveInteger128) -> NumeraResult<Integer8>
Source§impl TryFrom<&PositiveInteger16> for Integer8
Available on crate feature try_from only.
impl TryFrom<&PositiveInteger16> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &PositiveInteger16) -> NumeraResult<Integer8>
fn try_from(f: &PositiveInteger16) -> NumeraResult<Integer8>
Source§impl TryFrom<&PositiveInteger32> for Integer8
Available on crate feature try_from only.
impl TryFrom<&PositiveInteger32> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &PositiveInteger32) -> NumeraResult<Integer8>
fn try_from(f: &PositiveInteger32) -> NumeraResult<Integer8>
Source§impl TryFrom<&PositiveInteger64> for Integer8
Available on crate feature try_from only.
impl TryFrom<&PositiveInteger64> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &PositiveInteger64) -> NumeraResult<Integer8>
fn try_from(f: &PositiveInteger64) -> NumeraResult<Integer8>
Source§impl TryFrom<&PositiveInteger8> for Integer8
Available on crate feature try_from only.
impl TryFrom<&PositiveInteger8> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &PositiveInteger8) -> NumeraResult<Integer8>
fn try_from(f: &PositiveInteger8) -> NumeraResult<Integer8>
Source§impl TryFrom<&Prime128> for Integer8
Available on crate feature try_from only.
impl TryFrom<&Prime128> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&Prime16> for Integer8
Available on crate feature try_from only.
impl TryFrom<&Prime16> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&Prime32> for Integer8
Available on crate feature try_from only.
impl TryFrom<&Prime32> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&Prime64> for Integer8
Available on crate feature try_from only.
impl TryFrom<&Prime64> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&Prime8> for Integer8
Available on crate feature try_from only.
impl TryFrom<&Prime8> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&i128> for Integer8
Available on crate feature try_from only.
impl TryFrom<&i128> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&i16> for Integer8
Available on crate feature try_from only.
impl TryFrom<&i16> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&i32> for Integer8
Available on crate feature try_from only.
impl TryFrom<&i32> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&i64> for Integer8
Available on crate feature try_from only.
impl TryFrom<&i64> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&mut Integer128> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut Integer128> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut Integer128) -> NumeraResult<Integer8>
fn try_from(f: &mut Integer128) -> NumeraResult<Integer8>
Source§impl TryFrom<&mut Integer16> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut Integer16> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&mut Integer32> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut Integer32> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&mut Integer64> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut Integer64> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&mut Integer8> for NegativeInteger128
Available on crate feature try_from only.
impl TryFrom<&mut Integer8> for NegativeInteger128
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut Integer8) -> NumeraResult<NegativeInteger128>
fn try_from(f: &mut Integer8) -> NumeraResult<NegativeInteger128>
Source§impl TryFrom<&mut Integer8> for NegativeInteger16
Available on crate feature try_from only.
impl TryFrom<&mut Integer8> for NegativeInteger16
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut Integer8) -> NumeraResult<NegativeInteger16>
fn try_from(f: &mut Integer8) -> NumeraResult<NegativeInteger16>
Source§impl TryFrom<&mut Integer8> for NegativeInteger32
Available on crate feature try_from only.
impl TryFrom<&mut Integer8> for NegativeInteger32
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut Integer8) -> NumeraResult<NegativeInteger32>
fn try_from(f: &mut Integer8) -> NumeraResult<NegativeInteger32>
Source§impl TryFrom<&mut Integer8> for NegativeInteger64
Available on crate feature try_from only.
impl TryFrom<&mut Integer8> for NegativeInteger64
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut Integer8) -> NumeraResult<NegativeInteger64>
fn try_from(f: &mut Integer8) -> NumeraResult<NegativeInteger64>
Source§impl TryFrom<&mut Integer8> for NegativeInteger8
Available on crate feature try_from only.
impl TryFrom<&mut Integer8> for NegativeInteger8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut Integer8) -> NumeraResult<NegativeInteger8>
fn try_from(f: &mut Integer8) -> NumeraResult<NegativeInteger8>
Source§impl TryFrom<&mut Integer8> for NonNegativeInteger128
Available on crate feature try_from only.
impl TryFrom<&mut Integer8> for NonNegativeInteger128
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut Integer8) -> NumeraResult<NonNegativeInteger128>
fn try_from(f: &mut Integer8) -> NumeraResult<NonNegativeInteger128>
Source§impl TryFrom<&mut Integer8> for NonNegativeInteger16
Available on crate feature try_from only.
impl TryFrom<&mut Integer8> for NonNegativeInteger16
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut Integer8) -> NumeraResult<NonNegativeInteger16>
fn try_from(f: &mut Integer8) -> NumeraResult<NonNegativeInteger16>
Source§impl TryFrom<&mut Integer8> for NonNegativeInteger32
Available on crate feature try_from only.
impl TryFrom<&mut Integer8> for NonNegativeInteger32
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut Integer8) -> NumeraResult<NonNegativeInteger32>
fn try_from(f: &mut Integer8) -> NumeraResult<NonNegativeInteger32>
Source§impl TryFrom<&mut Integer8> for NonNegativeInteger64
Available on crate feature try_from only.
impl TryFrom<&mut Integer8> for NonNegativeInteger64
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut Integer8) -> NumeraResult<NonNegativeInteger64>
fn try_from(f: &mut Integer8) -> NumeraResult<NonNegativeInteger64>
Source§impl TryFrom<&mut Integer8> for NonNegativeInteger8
Available on crate feature try_from only.
impl TryFrom<&mut Integer8> for NonNegativeInteger8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut Integer8) -> NumeraResult<NonNegativeInteger8>
fn try_from(f: &mut Integer8) -> NumeraResult<NonNegativeInteger8>
Source§impl TryFrom<&mut Integer8> for NonPositiveInteger128
Available on crate feature try_from only.
impl TryFrom<&mut Integer8> for NonPositiveInteger128
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut Integer8) -> NumeraResult<NonPositiveInteger128>
fn try_from(f: &mut Integer8) -> NumeraResult<NonPositiveInteger128>
Source§impl TryFrom<&mut Integer8> for NonPositiveInteger16
Available on crate feature try_from only.
impl TryFrom<&mut Integer8> for NonPositiveInteger16
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut Integer8) -> NumeraResult<NonPositiveInteger16>
fn try_from(f: &mut Integer8) -> NumeraResult<NonPositiveInteger16>
Source§impl TryFrom<&mut Integer8> for NonPositiveInteger32
Available on crate feature try_from only.
impl TryFrom<&mut Integer8> for NonPositiveInteger32
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut Integer8) -> NumeraResult<NonPositiveInteger32>
fn try_from(f: &mut Integer8) -> NumeraResult<NonPositiveInteger32>
Source§impl TryFrom<&mut Integer8> for NonPositiveInteger64
Available on crate feature try_from only.
impl TryFrom<&mut Integer8> for NonPositiveInteger64
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut Integer8) -> NumeraResult<NonPositiveInteger64>
fn try_from(f: &mut Integer8) -> NumeraResult<NonPositiveInteger64>
Source§impl TryFrom<&mut Integer8> for NonPositiveInteger8
Available on crate feature try_from only.
impl TryFrom<&mut Integer8> for NonPositiveInteger8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut Integer8) -> NumeraResult<NonPositiveInteger8>
fn try_from(f: &mut Integer8) -> NumeraResult<NonPositiveInteger8>
Source§impl TryFrom<&mut Integer8> for NonZeroI128
Available on crate feature try_from only.
impl TryFrom<&mut Integer8> for NonZeroI128
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut Integer8) -> NumeraResult<NonZeroI128>
fn try_from(f: &mut Integer8) -> NumeraResult<NonZeroI128>
Source§impl TryFrom<&mut Integer8> for NonZeroI16
Available on crate feature try_from only.
impl TryFrom<&mut Integer8> for NonZeroI16
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut Integer8) -> NumeraResult<NonZeroI16>
fn try_from(f: &mut Integer8) -> NumeraResult<NonZeroI16>
Source§impl TryFrom<&mut Integer8> for NonZeroI32
Available on crate feature try_from only.
impl TryFrom<&mut Integer8> for NonZeroI32
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut Integer8) -> NumeraResult<NonZeroI32>
fn try_from(f: &mut Integer8) -> NumeraResult<NonZeroI32>
Source§impl TryFrom<&mut Integer8> for NonZeroI64
Available on crate feature try_from only.
impl TryFrom<&mut Integer8> for NonZeroI64
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut Integer8) -> NumeraResult<NonZeroI64>
fn try_from(f: &mut Integer8) -> NumeraResult<NonZeroI64>
Source§impl TryFrom<&mut Integer8> for NonZeroI8
Available on crate feature try_from only.
impl TryFrom<&mut Integer8> for NonZeroI8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&mut Integer8> for NonZeroU128
Available on crate feature try_from only.
impl TryFrom<&mut Integer8> for NonZeroU128
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut Integer8) -> NumeraResult<NonZeroU128>
fn try_from(f: &mut Integer8) -> NumeraResult<NonZeroU128>
Source§impl TryFrom<&mut Integer8> for NonZeroU16
Available on crate feature try_from only.
impl TryFrom<&mut Integer8> for NonZeroU16
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut Integer8) -> NumeraResult<NonZeroU16>
fn try_from(f: &mut Integer8) -> NumeraResult<NonZeroU16>
Source§impl TryFrom<&mut Integer8> for NonZeroU32
Available on crate feature try_from only.
impl TryFrom<&mut Integer8> for NonZeroU32
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut Integer8) -> NumeraResult<NonZeroU32>
fn try_from(f: &mut Integer8) -> NumeraResult<NonZeroU32>
Source§impl TryFrom<&mut Integer8> for NonZeroU64
Available on crate feature try_from only.
impl TryFrom<&mut Integer8> for NonZeroU64
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut Integer8) -> NumeraResult<NonZeroU64>
fn try_from(f: &mut Integer8) -> NumeraResult<NonZeroU64>
Source§impl TryFrom<&mut Integer8> for NonZeroU8
Available on crate feature try_from only.
impl TryFrom<&mut Integer8> for NonZeroU8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&mut Integer8> for NonZeroInteger128
Available on crate feature try_from only.
impl TryFrom<&mut Integer8> for NonZeroInteger128
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut Integer8) -> NumeraResult<NonZeroInteger128>
fn try_from(f: &mut Integer8) -> NumeraResult<NonZeroInteger128>
Source§impl TryFrom<&mut Integer8> for NonZeroInteger16
Available on crate feature try_from only.
impl TryFrom<&mut Integer8> for NonZeroInteger16
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut Integer8) -> NumeraResult<NonZeroInteger16>
fn try_from(f: &mut Integer8) -> NumeraResult<NonZeroInteger16>
Source§impl TryFrom<&mut Integer8> for NonZeroInteger32
Available on crate feature try_from only.
impl TryFrom<&mut Integer8> for NonZeroInteger32
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut Integer8) -> NumeraResult<NonZeroInteger32>
fn try_from(f: &mut Integer8) -> NumeraResult<NonZeroInteger32>
Source§impl TryFrom<&mut Integer8> for NonZeroInteger64
Available on crate feature try_from only.
impl TryFrom<&mut Integer8> for NonZeroInteger64
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut Integer8) -> NumeraResult<NonZeroInteger64>
fn try_from(f: &mut Integer8) -> NumeraResult<NonZeroInteger64>
Source§impl TryFrom<&mut Integer8> for NonZeroInteger8
Available on crate feature try_from only.
impl TryFrom<&mut Integer8> for NonZeroInteger8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut Integer8) -> NumeraResult<NonZeroInteger8>
fn try_from(f: &mut Integer8) -> NumeraResult<NonZeroInteger8>
Source§impl TryFrom<&mut Integer8> for PositiveInteger128
Available on crate feature try_from only.
impl TryFrom<&mut Integer8> for PositiveInteger128
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut Integer8) -> NumeraResult<PositiveInteger128>
fn try_from(f: &mut Integer8) -> NumeraResult<PositiveInteger128>
Source§impl TryFrom<&mut Integer8> for PositiveInteger16
Available on crate feature try_from only.
impl TryFrom<&mut Integer8> for PositiveInteger16
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut Integer8) -> NumeraResult<PositiveInteger16>
fn try_from(f: &mut Integer8) -> NumeraResult<PositiveInteger16>
Source§impl TryFrom<&mut Integer8> for PositiveInteger32
Available on crate feature try_from only.
impl TryFrom<&mut Integer8> for PositiveInteger32
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut Integer8) -> NumeraResult<PositiveInteger32>
fn try_from(f: &mut Integer8) -> NumeraResult<PositiveInteger32>
Source§impl TryFrom<&mut Integer8> for PositiveInteger64
Available on crate feature try_from only.
impl TryFrom<&mut Integer8> for PositiveInteger64
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut Integer8) -> NumeraResult<PositiveInteger64>
fn try_from(f: &mut Integer8) -> NumeraResult<PositiveInteger64>
Source§impl TryFrom<&mut Integer8> for PositiveInteger8
Available on crate feature try_from only.
impl TryFrom<&mut Integer8> for PositiveInteger8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut Integer8) -> NumeraResult<PositiveInteger8>
fn try_from(f: &mut Integer8) -> NumeraResult<PositiveInteger8>
Source§impl TryFrom<&mut Integer8> for u128
Available on crate feature try_from only.
impl TryFrom<&mut Integer8> for u128
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&mut Integer8> for u16
Available on crate feature try_from only.
impl TryFrom<&mut Integer8> for u16
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&mut Integer8> for u32
Available on crate feature try_from only.
impl TryFrom<&mut Integer8> for u32
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&mut Integer8> for u64
Available on crate feature try_from only.
impl TryFrom<&mut Integer8> for u64
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&mut Integer8> for u8
Available on crate feature try_from only.
impl TryFrom<&mut Integer8> for u8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&mut NegativeInteger128> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut NegativeInteger128> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut NegativeInteger128) -> NumeraResult<Integer8>
fn try_from(f: &mut NegativeInteger128) -> NumeraResult<Integer8>
Source§impl TryFrom<&mut NegativeInteger16> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut NegativeInteger16> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut NegativeInteger16) -> NumeraResult<Integer8>
fn try_from(f: &mut NegativeInteger16) -> NumeraResult<Integer8>
Source§impl TryFrom<&mut NegativeInteger32> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut NegativeInteger32> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut NegativeInteger32) -> NumeraResult<Integer8>
fn try_from(f: &mut NegativeInteger32) -> NumeraResult<Integer8>
Source§impl TryFrom<&mut NegativeInteger64> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut NegativeInteger64> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut NegativeInteger64) -> NumeraResult<Integer8>
fn try_from(f: &mut NegativeInteger64) -> NumeraResult<Integer8>
Source§impl TryFrom<&mut NegativeInteger8> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut NegativeInteger8> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut NegativeInteger8) -> NumeraResult<Integer8>
fn try_from(f: &mut NegativeInteger8) -> NumeraResult<Integer8>
Source§impl TryFrom<&mut NonNegativeInteger128> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut NonNegativeInteger128> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut NonNegativeInteger128) -> NumeraResult<Integer8>
fn try_from(f: &mut NonNegativeInteger128) -> NumeraResult<Integer8>
Source§impl TryFrom<&mut NonNegativeInteger16> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut NonNegativeInteger16> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut NonNegativeInteger16) -> NumeraResult<Integer8>
fn try_from(f: &mut NonNegativeInteger16) -> NumeraResult<Integer8>
Source§impl TryFrom<&mut NonNegativeInteger32> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut NonNegativeInteger32> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut NonNegativeInteger32) -> NumeraResult<Integer8>
fn try_from(f: &mut NonNegativeInteger32) -> NumeraResult<Integer8>
Source§impl TryFrom<&mut NonNegativeInteger64> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut NonNegativeInteger64> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut NonNegativeInteger64) -> NumeraResult<Integer8>
fn try_from(f: &mut NonNegativeInteger64) -> NumeraResult<Integer8>
Source§impl TryFrom<&mut NonNegativeInteger8> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut NonNegativeInteger8> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut NonNegativeInteger8) -> NumeraResult<Integer8>
fn try_from(f: &mut NonNegativeInteger8) -> NumeraResult<Integer8>
Source§impl TryFrom<&mut NonPositiveInteger128> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut NonPositiveInteger128> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut NonPositiveInteger128) -> NumeraResult<Integer8>
fn try_from(f: &mut NonPositiveInteger128) -> NumeraResult<Integer8>
Source§impl TryFrom<&mut NonPositiveInteger16> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut NonPositiveInteger16> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut NonPositiveInteger16) -> NumeraResult<Integer8>
fn try_from(f: &mut NonPositiveInteger16) -> NumeraResult<Integer8>
Source§impl TryFrom<&mut NonPositiveInteger32> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut NonPositiveInteger32> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut NonPositiveInteger32) -> NumeraResult<Integer8>
fn try_from(f: &mut NonPositiveInteger32) -> NumeraResult<Integer8>
Source§impl TryFrom<&mut NonPositiveInteger64> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut NonPositiveInteger64> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut NonPositiveInteger64) -> NumeraResult<Integer8>
fn try_from(f: &mut NonPositiveInteger64) -> NumeraResult<Integer8>
Source§impl TryFrom<&mut NonPositiveInteger8> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut NonPositiveInteger8> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut NonPositiveInteger8) -> NumeraResult<Integer8>
fn try_from(f: &mut NonPositiveInteger8) -> NumeraResult<Integer8>
Source§impl TryFrom<&mut NonZero<i128>> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut NonZero<i128>> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut NonZeroI128) -> NumeraResult<Integer8>
fn try_from(f: &mut NonZeroI128) -> NumeraResult<Integer8>
Source§impl TryFrom<&mut NonZero<i16>> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut NonZero<i16>> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut NonZeroI16) -> NumeraResult<Integer8>
fn try_from(f: &mut NonZeroI16) -> NumeraResult<Integer8>
Source§impl TryFrom<&mut NonZero<i32>> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut NonZero<i32>> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut NonZeroI32) -> NumeraResult<Integer8>
fn try_from(f: &mut NonZeroI32) -> NumeraResult<Integer8>
Source§impl TryFrom<&mut NonZero<i64>> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut NonZero<i64>> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut NonZeroI64) -> NumeraResult<Integer8>
fn try_from(f: &mut NonZeroI64) -> NumeraResult<Integer8>
Source§impl TryFrom<&mut NonZero<u128>> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut NonZero<u128>> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut NonZeroU128) -> NumeraResult<Integer8>
fn try_from(f: &mut NonZeroU128) -> NumeraResult<Integer8>
Source§impl TryFrom<&mut NonZero<u16>> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut NonZero<u16>> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut NonZeroU16) -> NumeraResult<Integer8>
fn try_from(f: &mut NonZeroU16) -> NumeraResult<Integer8>
Source§impl TryFrom<&mut NonZero<u32>> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut NonZero<u32>> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut NonZeroU32) -> NumeraResult<Integer8>
fn try_from(f: &mut NonZeroU32) -> NumeraResult<Integer8>
Source§impl TryFrom<&mut NonZero<u64>> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut NonZero<u64>> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut NonZeroU64) -> NumeraResult<Integer8>
fn try_from(f: &mut NonZeroU64) -> NumeraResult<Integer8>
Source§impl TryFrom<&mut NonZero<u8>> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut NonZero<u8>> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&mut NonZeroInteger128> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut NonZeroInteger128> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<Integer8>
fn try_from(f: &mut NonZeroInteger128) -> NumeraResult<Integer8>
Source§impl TryFrom<&mut NonZeroInteger16> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut NonZeroInteger16> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut NonZeroInteger16) -> NumeraResult<Integer8>
fn try_from(f: &mut NonZeroInteger16) -> NumeraResult<Integer8>
Source§impl TryFrom<&mut NonZeroInteger32> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut NonZeroInteger32> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut NonZeroInteger32) -> NumeraResult<Integer8>
fn try_from(f: &mut NonZeroInteger32) -> NumeraResult<Integer8>
Source§impl TryFrom<&mut NonZeroInteger64> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut NonZeroInteger64> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut NonZeroInteger64) -> NumeraResult<Integer8>
fn try_from(f: &mut NonZeroInteger64) -> NumeraResult<Integer8>
Source§impl TryFrom<&mut PositiveInteger128> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut PositiveInteger128> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut PositiveInteger128) -> NumeraResult<Integer8>
fn try_from(f: &mut PositiveInteger128) -> NumeraResult<Integer8>
Source§impl TryFrom<&mut PositiveInteger16> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut PositiveInteger16> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut PositiveInteger16) -> NumeraResult<Integer8>
fn try_from(f: &mut PositiveInteger16) -> NumeraResult<Integer8>
Source§impl TryFrom<&mut PositiveInteger32> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut PositiveInteger32> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut PositiveInteger32) -> NumeraResult<Integer8>
fn try_from(f: &mut PositiveInteger32) -> NumeraResult<Integer8>
Source§impl TryFrom<&mut PositiveInteger64> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut PositiveInteger64> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut PositiveInteger64) -> NumeraResult<Integer8>
fn try_from(f: &mut PositiveInteger64) -> NumeraResult<Integer8>
Source§impl TryFrom<&mut PositiveInteger8> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut PositiveInteger8> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: &mut PositiveInteger8) -> NumeraResult<Integer8>
fn try_from(f: &mut PositiveInteger8) -> NumeraResult<Integer8>
Source§impl TryFrom<&mut Prime128> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut Prime128> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&mut Prime16> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut Prime16> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&mut Prime32> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut Prime32> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&mut Prime64> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut Prime64> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&mut Prime8> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut Prime8> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&mut i128> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut i128> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&mut i16> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut i16> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&mut i32> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut i32> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&mut i64> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut i64> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&mut u128> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut u128> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&mut u16> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut u16> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&mut u32> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut u32> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&mut u64> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut u64> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&mut u8> for Integer8
Available on crate feature try_from only.
impl TryFrom<&mut u8> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&u128> for Integer8
Available on crate feature try_from only.
impl TryFrom<&u128> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&u16> for Integer8
Available on crate feature try_from only.
impl TryFrom<&u16> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&u32> for Integer8
Available on crate feature try_from only.
impl TryFrom<&u32> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&u64> for Integer8
Available on crate feature try_from only.
impl TryFrom<&u64> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<&u8> for Integer8
Available on crate feature try_from only.
impl TryFrom<&u8> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<Integer128> for Integer8
Available on crate feature try_from only.
impl TryFrom<Integer128> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: Integer128) -> NumeraResult<Integer8>
fn try_from(f: Integer128) -> NumeraResult<Integer8>
Source§impl TryFrom<Integer16> for Integer8
Available on crate feature try_from only.
impl TryFrom<Integer16> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<Integer32> for Integer8
Available on crate feature try_from only.
impl TryFrom<Integer32> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<Integer64> for Integer8
Available on crate feature try_from only.
impl TryFrom<Integer64> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<Integer8> for NegativeInteger128
Available on crate feature try_from only.
impl TryFrom<Integer8> for NegativeInteger128
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: Integer8) -> NumeraResult<NegativeInteger128>
fn try_from(f: Integer8) -> NumeraResult<NegativeInteger128>
Source§impl TryFrom<Integer8> for NegativeInteger16
Available on crate feature try_from only.
impl TryFrom<Integer8> for NegativeInteger16
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: Integer8) -> NumeraResult<NegativeInteger16>
fn try_from(f: Integer8) -> NumeraResult<NegativeInteger16>
Source§impl TryFrom<Integer8> for NegativeInteger32
Available on crate feature try_from only.
impl TryFrom<Integer8> for NegativeInteger32
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: Integer8) -> NumeraResult<NegativeInteger32>
fn try_from(f: Integer8) -> NumeraResult<NegativeInteger32>
Source§impl TryFrom<Integer8> for NegativeInteger64
Available on crate feature try_from only.
impl TryFrom<Integer8> for NegativeInteger64
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: Integer8) -> NumeraResult<NegativeInteger64>
fn try_from(f: Integer8) -> NumeraResult<NegativeInteger64>
Source§impl TryFrom<Integer8> for NegativeInteger8
Available on crate feature try_from only.
impl TryFrom<Integer8> for NegativeInteger8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: Integer8) -> NumeraResult<NegativeInteger8>
fn try_from(f: Integer8) -> NumeraResult<NegativeInteger8>
Source§impl TryFrom<Integer8> for NonNegativeInteger128
Available on crate feature try_from only.
impl TryFrom<Integer8> for NonNegativeInteger128
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: Integer8) -> NumeraResult<NonNegativeInteger128>
fn try_from(f: Integer8) -> NumeraResult<NonNegativeInteger128>
Source§impl TryFrom<Integer8> for NonNegativeInteger16
Available on crate feature try_from only.
impl TryFrom<Integer8> for NonNegativeInteger16
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: Integer8) -> NumeraResult<NonNegativeInteger16>
fn try_from(f: Integer8) -> NumeraResult<NonNegativeInteger16>
Source§impl TryFrom<Integer8> for NonNegativeInteger32
Available on crate feature try_from only.
impl TryFrom<Integer8> for NonNegativeInteger32
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: Integer8) -> NumeraResult<NonNegativeInteger32>
fn try_from(f: Integer8) -> NumeraResult<NonNegativeInteger32>
Source§impl TryFrom<Integer8> for NonNegativeInteger64
Available on crate feature try_from only.
impl TryFrom<Integer8> for NonNegativeInteger64
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: Integer8) -> NumeraResult<NonNegativeInteger64>
fn try_from(f: Integer8) -> NumeraResult<NonNegativeInteger64>
Source§impl TryFrom<Integer8> for NonNegativeInteger8
Available on crate feature try_from only.
impl TryFrom<Integer8> for NonNegativeInteger8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: Integer8) -> NumeraResult<NonNegativeInteger8>
fn try_from(f: Integer8) -> NumeraResult<NonNegativeInteger8>
Source§impl TryFrom<Integer8> for NonPositiveInteger128
Available on crate feature try_from only.
impl TryFrom<Integer8> for NonPositiveInteger128
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: Integer8) -> NumeraResult<NonPositiveInteger128>
fn try_from(f: Integer8) -> NumeraResult<NonPositiveInteger128>
Source§impl TryFrom<Integer8> for NonPositiveInteger16
Available on crate feature try_from only.
impl TryFrom<Integer8> for NonPositiveInteger16
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: Integer8) -> NumeraResult<NonPositiveInteger16>
fn try_from(f: Integer8) -> NumeraResult<NonPositiveInteger16>
Source§impl TryFrom<Integer8> for NonPositiveInteger32
Available on crate feature try_from only.
impl TryFrom<Integer8> for NonPositiveInteger32
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: Integer8) -> NumeraResult<NonPositiveInteger32>
fn try_from(f: Integer8) -> NumeraResult<NonPositiveInteger32>
Source§impl TryFrom<Integer8> for NonPositiveInteger64
Available on crate feature try_from only.
impl TryFrom<Integer8> for NonPositiveInteger64
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: Integer8) -> NumeraResult<NonPositiveInteger64>
fn try_from(f: Integer8) -> NumeraResult<NonPositiveInteger64>
Source§impl TryFrom<Integer8> for NonPositiveInteger8
Available on crate feature try_from only.
impl TryFrom<Integer8> for NonPositiveInteger8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: Integer8) -> NumeraResult<NonPositiveInteger8>
fn try_from(f: Integer8) -> NumeraResult<NonPositiveInteger8>
Source§impl TryFrom<Integer8> for NonZeroI128
Available on crate feature try_from only.
impl TryFrom<Integer8> for NonZeroI128
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: Integer8) -> NumeraResult<NonZeroI128>
fn try_from(f: Integer8) -> NumeraResult<NonZeroI128>
Source§impl TryFrom<Integer8> for NonZeroI16
Available on crate feature try_from only.
impl TryFrom<Integer8> for NonZeroI16
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: Integer8) -> NumeraResult<NonZeroI16>
fn try_from(f: Integer8) -> NumeraResult<NonZeroI16>
Source§impl TryFrom<Integer8> for NonZeroI32
Available on crate feature try_from only.
impl TryFrom<Integer8> for NonZeroI32
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: Integer8) -> NumeraResult<NonZeroI32>
fn try_from(f: Integer8) -> NumeraResult<NonZeroI32>
Source§impl TryFrom<Integer8> for NonZeroI64
Available on crate feature try_from only.
impl TryFrom<Integer8> for NonZeroI64
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: Integer8) -> NumeraResult<NonZeroI64>
fn try_from(f: Integer8) -> NumeraResult<NonZeroI64>
Source§impl TryFrom<Integer8> for NonZeroI8
Available on crate feature try_from only.
impl TryFrom<Integer8> for NonZeroI8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<Integer8> for NonZeroU128
Available on crate feature try_from only.
impl TryFrom<Integer8> for NonZeroU128
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: Integer8) -> NumeraResult<NonZeroU128>
fn try_from(f: Integer8) -> NumeraResult<NonZeroU128>
Source§impl TryFrom<Integer8> for NonZeroU16
Available on crate feature try_from only.
impl TryFrom<Integer8> for NonZeroU16
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: Integer8) -> NumeraResult<NonZeroU16>
fn try_from(f: Integer8) -> NumeraResult<NonZeroU16>
Source§impl TryFrom<Integer8> for NonZeroU32
Available on crate feature try_from only.
impl TryFrom<Integer8> for NonZeroU32
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: Integer8) -> NumeraResult<NonZeroU32>
fn try_from(f: Integer8) -> NumeraResult<NonZeroU32>
Source§impl TryFrom<Integer8> for NonZeroU64
Available on crate feature try_from only.
impl TryFrom<Integer8> for NonZeroU64
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: Integer8) -> NumeraResult<NonZeroU64>
fn try_from(f: Integer8) -> NumeraResult<NonZeroU64>
Source§impl TryFrom<Integer8> for NonZeroU8
Available on crate feature try_from only.
impl TryFrom<Integer8> for NonZeroU8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<Integer8> for NonZeroInteger128
Available on crate feature try_from only.
impl TryFrom<Integer8> for NonZeroInteger128
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: Integer8) -> NumeraResult<NonZeroInteger128>
fn try_from(f: Integer8) -> NumeraResult<NonZeroInteger128>
Source§impl TryFrom<Integer8> for NonZeroInteger16
Available on crate feature try_from only.
impl TryFrom<Integer8> for NonZeroInteger16
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: Integer8) -> NumeraResult<NonZeroInteger16>
fn try_from(f: Integer8) -> NumeraResult<NonZeroInteger16>
Source§impl TryFrom<Integer8> for NonZeroInteger32
Available on crate feature try_from only.
impl TryFrom<Integer8> for NonZeroInteger32
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: Integer8) -> NumeraResult<NonZeroInteger32>
fn try_from(f: Integer8) -> NumeraResult<NonZeroInteger32>
Source§impl TryFrom<Integer8> for NonZeroInteger64
Available on crate feature try_from only.
impl TryFrom<Integer8> for NonZeroInteger64
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: Integer8) -> NumeraResult<NonZeroInteger64>
fn try_from(f: Integer8) -> NumeraResult<NonZeroInteger64>
Source§impl TryFrom<Integer8> for NonZeroInteger8
Available on crate feature try_from only.
impl TryFrom<Integer8> for NonZeroInteger8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: Integer8) -> NumeraResult<NonZeroInteger8>
fn try_from(f: Integer8) -> NumeraResult<NonZeroInteger8>
Source§impl TryFrom<Integer8> for PositiveInteger128
Available on crate feature try_from only.
impl TryFrom<Integer8> for PositiveInteger128
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: Integer8) -> NumeraResult<PositiveInteger128>
fn try_from(f: Integer8) -> NumeraResult<PositiveInteger128>
Source§impl TryFrom<Integer8> for PositiveInteger16
Available on crate feature try_from only.
impl TryFrom<Integer8> for PositiveInteger16
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: Integer8) -> NumeraResult<PositiveInteger16>
fn try_from(f: Integer8) -> NumeraResult<PositiveInteger16>
Source§impl TryFrom<Integer8> for PositiveInteger32
Available on crate feature try_from only.
impl TryFrom<Integer8> for PositiveInteger32
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: Integer8) -> NumeraResult<PositiveInteger32>
fn try_from(f: Integer8) -> NumeraResult<PositiveInteger32>
Source§impl TryFrom<Integer8> for PositiveInteger64
Available on crate feature try_from only.
impl TryFrom<Integer8> for PositiveInteger64
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: Integer8) -> NumeraResult<PositiveInteger64>
fn try_from(f: Integer8) -> NumeraResult<PositiveInteger64>
Source§impl TryFrom<Integer8> for PositiveInteger8
Available on crate feature try_from only.
impl TryFrom<Integer8> for PositiveInteger8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: Integer8) -> NumeraResult<PositiveInteger8>
fn try_from(f: Integer8) -> NumeraResult<PositiveInteger8>
Source§impl TryFrom<Integer8> for u128
Available on crate feature try_from only.
impl TryFrom<Integer8> for u128
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<Integer8> for u16
Available on crate feature try_from only.
impl TryFrom<Integer8> for u16
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<Integer8> for u32
Available on crate feature try_from only.
impl TryFrom<Integer8> for u32
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<Integer8> for u64
Available on crate feature try_from only.
impl TryFrom<Integer8> for u64
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<Integer8> for u8
Available on crate feature try_from only.
impl TryFrom<Integer8> for u8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<NegativeInteger128> for Integer8
Available on crate feature try_from only.
impl TryFrom<NegativeInteger128> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: NegativeInteger128) -> NumeraResult<Integer8>
fn try_from(f: NegativeInteger128) -> NumeraResult<Integer8>
Source§impl TryFrom<NegativeInteger16> for Integer8
Available on crate feature try_from only.
impl TryFrom<NegativeInteger16> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: NegativeInteger16) -> NumeraResult<Integer8>
fn try_from(f: NegativeInteger16) -> NumeraResult<Integer8>
Source§impl TryFrom<NegativeInteger32> for Integer8
Available on crate feature try_from only.
impl TryFrom<NegativeInteger32> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: NegativeInteger32) -> NumeraResult<Integer8>
fn try_from(f: NegativeInteger32) -> NumeraResult<Integer8>
Source§impl TryFrom<NegativeInteger64> for Integer8
Available on crate feature try_from only.
impl TryFrom<NegativeInteger64> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: NegativeInteger64) -> NumeraResult<Integer8>
fn try_from(f: NegativeInteger64) -> NumeraResult<Integer8>
Source§impl TryFrom<NegativeInteger8> for Integer8
Available on crate feature try_from only.
impl TryFrom<NegativeInteger8> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: NegativeInteger8) -> NumeraResult<Integer8>
fn try_from(f: NegativeInteger8) -> NumeraResult<Integer8>
Source§impl TryFrom<NonNegativeInteger128> for Integer8
Available on crate feature try_from only.
impl TryFrom<NonNegativeInteger128> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: NonNegativeInteger128) -> NumeraResult<Integer8>
fn try_from(f: NonNegativeInteger128) -> NumeraResult<Integer8>
Source§impl TryFrom<NonNegativeInteger16> for Integer8
Available on crate feature try_from only.
impl TryFrom<NonNegativeInteger16> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: NonNegativeInteger16) -> NumeraResult<Integer8>
fn try_from(f: NonNegativeInteger16) -> NumeraResult<Integer8>
Source§impl TryFrom<NonNegativeInteger32> for Integer8
Available on crate feature try_from only.
impl TryFrom<NonNegativeInteger32> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: NonNegativeInteger32) -> NumeraResult<Integer8>
fn try_from(f: NonNegativeInteger32) -> NumeraResult<Integer8>
Source§impl TryFrom<NonNegativeInteger64> for Integer8
Available on crate feature try_from only.
impl TryFrom<NonNegativeInteger64> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: NonNegativeInteger64) -> NumeraResult<Integer8>
fn try_from(f: NonNegativeInteger64) -> NumeraResult<Integer8>
Source§impl TryFrom<NonNegativeInteger8> for Integer8
Available on crate feature try_from only.
impl TryFrom<NonNegativeInteger8> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: NonNegativeInteger8) -> NumeraResult<Integer8>
fn try_from(f: NonNegativeInteger8) -> NumeraResult<Integer8>
Source§impl TryFrom<NonPositiveInteger128> for Integer8
Available on crate feature try_from only.
impl TryFrom<NonPositiveInteger128> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: NonPositiveInteger128) -> NumeraResult<Integer8>
fn try_from(f: NonPositiveInteger128) -> NumeraResult<Integer8>
Source§impl TryFrom<NonPositiveInteger16> for Integer8
Available on crate feature try_from only.
impl TryFrom<NonPositiveInteger16> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: NonPositiveInteger16) -> NumeraResult<Integer8>
fn try_from(f: NonPositiveInteger16) -> NumeraResult<Integer8>
Source§impl TryFrom<NonPositiveInteger32> for Integer8
Available on crate feature try_from only.
impl TryFrom<NonPositiveInteger32> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: NonPositiveInteger32) -> NumeraResult<Integer8>
fn try_from(f: NonPositiveInteger32) -> NumeraResult<Integer8>
Source§impl TryFrom<NonPositiveInteger64> for Integer8
Available on crate feature try_from only.
impl TryFrom<NonPositiveInteger64> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: NonPositiveInteger64) -> NumeraResult<Integer8>
fn try_from(f: NonPositiveInteger64) -> NumeraResult<Integer8>
Source§impl TryFrom<NonPositiveInteger8> for Integer8
Available on crate feature try_from only.
impl TryFrom<NonPositiveInteger8> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: NonPositiveInteger8) -> NumeraResult<Integer8>
fn try_from(f: NonPositiveInteger8) -> NumeraResult<Integer8>
Source§impl TryFrom<NonZero<i128>> for Integer8
Available on crate feature try_from only.
impl TryFrom<NonZero<i128>> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: NonZeroI128) -> NumeraResult<Integer8>
fn try_from(f: NonZeroI128) -> NumeraResult<Integer8>
Source§impl TryFrom<NonZero<i16>> for Integer8
Available on crate feature try_from only.
impl TryFrom<NonZero<i16>> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: NonZeroI16) -> NumeraResult<Integer8>
fn try_from(f: NonZeroI16) -> NumeraResult<Integer8>
Source§impl TryFrom<NonZero<i32>> for Integer8
Available on crate feature try_from only.
impl TryFrom<NonZero<i32>> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: NonZeroI32) -> NumeraResult<Integer8>
fn try_from(f: NonZeroI32) -> NumeraResult<Integer8>
Source§impl TryFrom<NonZero<i64>> for Integer8
Available on crate feature try_from only.
impl TryFrom<NonZero<i64>> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: NonZeroI64) -> NumeraResult<Integer8>
fn try_from(f: NonZeroI64) -> NumeraResult<Integer8>
Source§impl TryFrom<NonZero<u128>> for Integer8
Available on crate feature try_from only.
impl TryFrom<NonZero<u128>> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: NonZeroU128) -> NumeraResult<Integer8>
fn try_from(f: NonZeroU128) -> NumeraResult<Integer8>
Source§impl TryFrom<NonZero<u16>> for Integer8
Available on crate feature try_from only.
impl TryFrom<NonZero<u16>> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: NonZeroU16) -> NumeraResult<Integer8>
fn try_from(f: NonZeroU16) -> NumeraResult<Integer8>
Source§impl TryFrom<NonZero<u32>> for Integer8
Available on crate feature try_from only.
impl TryFrom<NonZero<u32>> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: NonZeroU32) -> NumeraResult<Integer8>
fn try_from(f: NonZeroU32) -> NumeraResult<Integer8>
Source§impl TryFrom<NonZero<u64>> for Integer8
Available on crate feature try_from only.
impl TryFrom<NonZero<u64>> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: NonZeroU64) -> NumeraResult<Integer8>
fn try_from(f: NonZeroU64) -> NumeraResult<Integer8>
Source§impl TryFrom<NonZero<u8>> for Integer8
Available on crate feature try_from only.
impl TryFrom<NonZero<u8>> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<NonZeroInteger128> for Integer8
Available on crate feature try_from only.
impl TryFrom<NonZeroInteger128> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: NonZeroInteger128) -> NumeraResult<Integer8>
fn try_from(f: NonZeroInteger128) -> NumeraResult<Integer8>
Source§impl TryFrom<NonZeroInteger16> for Integer8
Available on crate feature try_from only.
impl TryFrom<NonZeroInteger16> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: NonZeroInteger16) -> NumeraResult<Integer8>
fn try_from(f: NonZeroInteger16) -> NumeraResult<Integer8>
Source§impl TryFrom<NonZeroInteger32> for Integer8
Available on crate feature try_from only.
impl TryFrom<NonZeroInteger32> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: NonZeroInteger32) -> NumeraResult<Integer8>
fn try_from(f: NonZeroInteger32) -> NumeraResult<Integer8>
Source§impl TryFrom<NonZeroInteger64> for Integer8
Available on crate feature try_from only.
impl TryFrom<NonZeroInteger64> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: NonZeroInteger64) -> NumeraResult<Integer8>
fn try_from(f: NonZeroInteger64) -> NumeraResult<Integer8>
Source§impl TryFrom<PositiveInteger128> for Integer8
Available on crate feature try_from only.
impl TryFrom<PositiveInteger128> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: PositiveInteger128) -> NumeraResult<Integer8>
fn try_from(f: PositiveInteger128) -> NumeraResult<Integer8>
Source§impl TryFrom<PositiveInteger16> for Integer8
Available on crate feature try_from only.
impl TryFrom<PositiveInteger16> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: PositiveInteger16) -> NumeraResult<Integer8>
fn try_from(f: PositiveInteger16) -> NumeraResult<Integer8>
Source§impl TryFrom<PositiveInteger32> for Integer8
Available on crate feature try_from only.
impl TryFrom<PositiveInteger32> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: PositiveInteger32) -> NumeraResult<Integer8>
fn try_from(f: PositiveInteger32) -> NumeraResult<Integer8>
Source§impl TryFrom<PositiveInteger64> for Integer8
Available on crate feature try_from only.
impl TryFrom<PositiveInteger64> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: PositiveInteger64) -> NumeraResult<Integer8>
fn try_from(f: PositiveInteger64) -> NumeraResult<Integer8>
Source§impl TryFrom<PositiveInteger8> for Integer8
Available on crate feature try_from only.
impl TryFrom<PositiveInteger8> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§fn try_from(f: PositiveInteger8) -> NumeraResult<Integer8>
fn try_from(f: PositiveInteger8) -> NumeraResult<Integer8>
Source§impl TryFrom<Prime128> for Integer8
Available on crate feature try_from only.
impl TryFrom<Prime128> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<Prime16> for Integer8
Available on crate feature try_from only.
impl TryFrom<Prime16> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<Prime32> for Integer8
Available on crate feature try_from only.
impl TryFrom<Prime32> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<Prime64> for Integer8
Available on crate feature try_from only.
impl TryFrom<Prime64> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<Prime8> for Integer8
Available on crate feature try_from only.
impl TryFrom<Prime8> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<i128> for Integer8
Available on crate feature try_from only.
impl TryFrom<i128> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<i16> for Integer8
Available on crate feature try_from only.
impl TryFrom<i16> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<i32> for Integer8
Available on crate feature try_from only.
impl TryFrom<i32> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<i64> for Integer8
Available on crate feature try_from only.
impl TryFrom<i64> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<u128> for Integer8
Available on crate feature try_from only.
impl TryFrom<u128> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<u16> for Integer8
Available on crate feature try_from only.
impl TryFrom<u16> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<u32> for Integer8
Available on crate feature try_from only.
impl TryFrom<u32> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<u64> for Integer8
Available on crate feature try_from only.
impl TryFrom<u64> for Integer8
try_from only.Source§type Error = NumeraErrors
type Error = NumeraErrors
Source§impl TryFrom<u8> for Integer8
Available on crate feature try_from only.
impl TryFrom<u8> for Integer8
try_from only.