Struct ibig::prelude::IBig [−][src]
Signed big integer.
Arbitrarily large signed integer.
Examples
let a = ibig!(a2a123bbb127779cccc123123ccc base 32); let b = ibig!(-0x1231abcd4134); let c = IBig::from_str_radix("a2a123bbb127779cccc123123ccc", 32)?; let d = IBig::from_str_radix("-1231abcd4134", 16)?; assert_eq!(a, c); assert_eq!(b, d);
Implementations
impl IBig
[src]
pub fn trailing_zeros(&self) -> Option<usize>
[src]
Returns the number of trailing zeros in the two’s complement binary representation.
In other words, it is the smallest n
such that 2 to the power of n
divides the number.
For 0, it returns None
.
Examples
assert_eq!(ibig!(17).trailing_zeros(), Some(0)); assert_eq!(ibig!(-48).trailing_zeros(), Some(4)); assert_eq!(ibig!(-0b101000000).trailing_zeros(), Some(6)); assert_eq!(ibig!(0).trailing_zeros(), None);
impl IBig
[src]
pub fn to_f32(&self) -> f32
[src]
Convert to f32.
Round to nearest, breaking ties to even last bit.
Examples
assert_eq!(ibig!(-134).to_f32(), -134.0f32);
pub fn to_f64(&self) -> f64
[src]
Convert to f64.
Round to nearest, breaking ties to even last bit.
Examples
assert_eq!(ibig!(-134).to_f64(), -134.0f64);
impl IBig
[src]
impl IBig
[src]
pub fn from_str_radix(src: &str, radix: u32) -> Result<IBig, ParseError>
[src]
Convert a string in a given base to IBig
.
The string may contain a +
or -
prefix.
Digits 10-35 are represented by a-z
or A-Z
.
Panics
Panics if radix
is not between 2 and 36 inclusive.
Examples
assert_eq!(IBig::from_str_radix("-7ab", 32)?, ibig!(-7499));
pub fn from_str_with_radix_prefix(src: &str) -> Result<IBig, ParseError>
[src]
Convert a string with an optional radix prefix to IBig
.
src
may contain an ‘+’ or -
prefix..
Allowed prefixes: 0b
for binary, 0o
for octal, 0x
for hexadecimal.
Examples
assert_eq!(IBig::from_str_with_radix_prefix("+0o17")?, ibig!(0o17)); assert_eq!(IBig::from_str_with_radix_prefix("-0x1f")?, ibig!(-0x1f));
impl IBig
[src]
impl IBig
[src]
pub fn signum(&self) -> IBig
[src]
A number representing the sign of self
.
- -1 if the number is negative
- 0 if the number is zero
- 1 if the number is positive
Examples
assert_eq!(ibig!(-500).signum(), ibig!(-1));
pub fn is_negative(&self) -> bool
[src]
use < ibig!(0)
instead
Deprecated. Use < ibig!(0)
instead.
pub fn is_positive(&self) -> bool
[src]
use > ibig!(0)
instead
Deprecated. Use > ibig!(0)
instead.
Trait Implementations
impl Abs for IBig
[src]
impl Abs for &IBig
[src]
impl Add<&'_ IBig> for IBig
[src]
type Output = IBig
The resulting type after applying the +
operator.
fn add(self, rhs: &IBig) -> IBig
[src]
impl Add<&'_ IBig> for &IBig
[src]
type Output = IBig
The resulting type after applying the +
operator.
fn add(self, rhs: &IBig) -> IBig
[src]
impl Add<IBig> for IBig
[src]
type Output = IBig
The resulting type after applying the +
operator.
fn add(self, rhs: IBig) -> IBig
[src]
impl Add<IBig> for &IBig
[src]
type Output = IBig
The resulting type after applying the +
operator.
fn add(self, rhs: IBig) -> IBig
[src]
impl AddAssign<&'_ IBig> for IBig
[src]
fn add_assign(&mut self, rhs: &IBig)
[src]
impl AddAssign<IBig> for IBig
[src]
fn add_assign(&mut self, rhs: IBig)
[src]
impl AndNot<&'_ IBig> for IBig
[src]
impl AndNot<&'_ IBig> for &IBig
[src]
impl AndNot<IBig> for IBig
[src]
impl AndNot<IBig> for &IBig
[src]
impl Binary for IBig
[src]
impl BitAnd<&'_ IBig> for IBig
[src]
type Output = IBig
The resulting type after applying the &
operator.
fn bitand(self, rhs: &IBig) -> IBig
[src]
impl BitAnd<&'_ IBig> for &IBig
[src]
type Output = IBig
The resulting type after applying the &
operator.
fn bitand(self, rhs: &IBig) -> IBig
[src]
impl BitAnd<IBig> for IBig
[src]
type Output = IBig
The resulting type after applying the &
operator.
fn bitand(self, rhs: IBig) -> IBig
[src]
impl BitAnd<IBig> for &IBig
[src]
type Output = IBig
The resulting type after applying the &
operator.
fn bitand(self, rhs: IBig) -> IBig
[src]
impl BitAndAssign<&'_ IBig> for IBig
[src]
fn bitand_assign(&mut self, rhs: &IBig)
[src]
impl BitAndAssign<IBig> for IBig
[src]
fn bitand_assign(&mut self, rhs: IBig)
[src]
impl BitOr<&'_ IBig> for IBig
[src]
type Output = IBig
The resulting type after applying the |
operator.
fn bitor(self, rhs: &IBig) -> IBig
[src]
impl BitOr<&'_ IBig> for &IBig
[src]
type Output = IBig
The resulting type after applying the |
operator.
fn bitor(self, rhs: &IBig) -> IBig
[src]
impl BitOr<IBig> for IBig
[src]
type Output = IBig
The resulting type after applying the |
operator.
fn bitor(self, rhs: IBig) -> IBig
[src]
impl BitOr<IBig> for &IBig
[src]
type Output = IBig
The resulting type after applying the |
operator.
fn bitor(self, rhs: IBig) -> IBig
[src]
impl BitOrAssign<&'_ IBig> for IBig
[src]
fn bitor_assign(&mut self, rhs: &IBig)
[src]
impl BitOrAssign<IBig> for IBig
[src]
fn bitor_assign(&mut self, rhs: IBig)
[src]
impl BitXor<&'_ IBig> for IBig
[src]
type Output = IBig
The resulting type after applying the ^
operator.
fn bitxor(self, rhs: &IBig) -> IBig
[src]
impl BitXor<&'_ IBig> for &IBig
[src]
type Output = IBig
The resulting type after applying the ^
operator.
fn bitxor(self, rhs: &IBig) -> IBig
[src]
impl BitXor<IBig> for IBig
[src]
type Output = IBig
The resulting type after applying the ^
operator.
fn bitxor(self, rhs: IBig) -> IBig
[src]
impl BitXor<IBig> for &IBig
[src]
type Output = IBig
The resulting type after applying the ^
operator.
fn bitxor(self, rhs: IBig) -> IBig
[src]
impl BitXorAssign<&'_ IBig> for IBig
[src]
fn bitxor_assign(&mut self, rhs: &IBig)
[src]
impl BitXorAssign<IBig> for IBig
[src]
fn bitxor_assign(&mut self, rhs: IBig)
[src]
impl Clone for IBig
[src]
impl Debug for IBig
[src]
impl Default for IBig
[src]
impl Display for IBig
[src]
impl Div<&'_ IBig> for IBig
[src]
type Output = IBig
The resulting type after applying the /
operator.
fn div(self, rhs: &IBig) -> IBig
[src]
impl Div<&'_ IBig> for &IBig
[src]
type Output = IBig
The resulting type after applying the /
operator.
fn div(self, rhs: &IBig) -> IBig
[src]
impl Div<IBig> for IBig
[src]
type Output = IBig
The resulting type after applying the /
operator.
fn div(self, rhs: IBig) -> IBig
[src]
impl Div<IBig> for &IBig
[src]
type Output = IBig
The resulting type after applying the /
operator.
fn div(self, rhs: IBig) -> IBig
[src]
impl DivAssign<&'_ IBig> for IBig
[src]
fn div_assign(&mut self, rhs: &IBig)
[src]
impl DivAssign<IBig> for IBig
[src]
fn div_assign(&mut self, rhs: IBig)
[src]
impl DivEuclid<&'_ IBig> for IBig
[src]
impl DivEuclid<&'_ IBig> for &IBig
[src]
impl DivEuclid<IBig> for IBig
[src]
impl DivEuclid<IBig> for &IBig
[src]
impl DivRem<&'_ IBig> for IBig
[src]
impl DivRem<&'_ IBig> for &IBig
[src]
impl DivRem<IBig> for IBig
[src]
impl DivRem<IBig> for &IBig
[src]
impl DivRemEuclid<&'_ IBig> for IBig
[src]
impl DivRemEuclid<&'_ IBig> for &IBig
[src]
impl DivRemEuclid<IBig> for IBig
[src]
impl DivRemEuclid<IBig> for &IBig
[src]
impl Eq for IBig
[src]
impl From<&'_ UBig> for IBig
[src]
impl From<UBig> for IBig
[src]
impl From<bool> for IBig
[src]
impl From<i128> for IBig
[src]
impl From<i16> for IBig
[src]
impl From<i32> for IBig
[src]
impl From<i64> for IBig
[src]
impl From<i8> for IBig
[src]
impl From<isize> for IBig
[src]
impl From<u128> for IBig
[src]
impl From<u16> for IBig
[src]
impl From<u32> for IBig
[src]
impl From<u64> for IBig
[src]
impl From<u8> for IBig
[src]
impl From<usize> for IBig
[src]
impl FromStr for IBig
[src]
type Err = ParseError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<IBig, ParseError>
[src]
impl Hash for IBig
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl IntoModulo for IBig
[src]
fn into_modulo(self, ring: &ModuloRing) -> Modulo<'_>
[src]
impl IntoModulo for &IBig
[src]
fn into_modulo(self, ring: &ModuloRing) -> Modulo<'_>
[src]
impl LowerHex for IBig
[src]
impl Mul<&'_ IBig> for IBig
[src]
type Output = IBig
The resulting type after applying the *
operator.
fn mul(self, rhs: &IBig) -> IBig
[src]
impl Mul<&'_ IBig> for &IBig
[src]
type Output = IBig
The resulting type after applying the *
operator.
fn mul(self, rhs: &IBig) -> IBig
[src]
impl Mul<IBig> for IBig
[src]
type Output = IBig
The resulting type after applying the *
operator.
fn mul(self, rhs: IBig) -> IBig
[src]
impl Mul<IBig> for &IBig
[src]
type Output = IBig
The resulting type after applying the *
operator.
fn mul(self, rhs: IBig) -> IBig
[src]
impl MulAssign<&'_ IBig> for IBig
[src]
fn mul_assign(&mut self, rhs: &IBig)
[src]
impl MulAssign<IBig> for IBig
[src]
fn mul_assign(&mut self, rhs: IBig)
[src]
impl Neg for IBig
[src]
impl Neg for &IBig
[src]
impl Not for IBig
[src]
impl Not for &IBig
[src]
impl Num for IBig
[src]
type FromStrRadixErr = ParseError
fn from_str_radix(s: &str, radix: u32) -> Result<Self, ParseError>
[src]
impl Octal for IBig
[src]
impl One for IBig
[src]
fn one() -> Self
[src]
pub fn set_one(&mut self)
[src]
pub fn is_one(&self) -> bool where
Self: PartialEq<Self>,
[src]
Self: PartialEq<Self>,
impl Ord for IBig
[src]
fn cmp(&self, other: &IBig) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<IBig> for IBig
[src]
impl PartialOrd<IBig> for IBig
[src]
fn partial_cmp(&self, other: &IBig) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl Pow<usize> for IBig
[src]
impl Pow<usize> for &IBig
[src]
impl Rem<&'_ IBig> for IBig
[src]
type Output = IBig
The resulting type after applying the %
operator.
fn rem(self, rhs: &IBig) -> IBig
[src]
impl Rem<&'_ IBig> for &IBig
[src]
type Output = IBig
The resulting type after applying the %
operator.
fn rem(self, rhs: &IBig) -> IBig
[src]
impl Rem<IBig> for IBig
[src]
type Output = IBig
The resulting type after applying the %
operator.
fn rem(self, rhs: IBig) -> IBig
[src]
impl Rem<IBig> for &IBig
[src]
type Output = IBig
The resulting type after applying the %
operator.
fn rem(self, rhs: IBig) -> IBig
[src]
impl RemAssign<&'_ IBig> for IBig
[src]
fn rem_assign(&mut self, rhs: &IBig)
[src]
impl RemAssign<IBig> for IBig
[src]
fn rem_assign(&mut self, rhs: IBig)
[src]
impl RemEuclid<&'_ IBig> for IBig
[src]
impl RemEuclid<&'_ IBig> for &IBig
[src]
impl RemEuclid<IBig> for IBig
[src]
impl RemEuclid<IBig> for &IBig
[src]
impl SampleUniform for IBig
[src]
type Sampler = UniformIBig
The UniformSampler
implementation supporting type X
.
impl Shl<&'_ IBig> for UBig
[src]
type Output = UBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: &IBig) -> UBig
[src]
impl Shl<&'_ IBig> for &UBig
[src]
type Output = UBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: &IBig) -> UBig
[src]
impl Shl<&'_ IBig> for IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: &IBig) -> IBig
[src]
impl Shl<&'_ IBig> for &IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: &IBig) -> IBig
[src]
impl Shl<&'_ UBig> for IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: &UBig) -> IBig
[src]
impl Shl<&'_ UBig> for &IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: &UBig) -> IBig
[src]
impl Shl<&'_ i128> for IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: &i128) -> IBig
[src]
impl Shl<&'_ i128> for &IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: &i128) -> IBig
[src]
impl Shl<&'_ i16> for IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: &i16) -> IBig
[src]
impl Shl<&'_ i16> for &IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: &i16) -> IBig
[src]
impl Shl<&'_ i32> for IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: &i32) -> IBig
[src]
impl Shl<&'_ i32> for &IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: &i32) -> IBig
[src]
impl Shl<&'_ i64> for IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: &i64) -> IBig
[src]
impl Shl<&'_ i64> for &IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: &i64) -> IBig
[src]
impl Shl<&'_ i8> for IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: &i8) -> IBig
[src]
impl Shl<&'_ i8> for &IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: &i8) -> IBig
[src]
impl Shl<&'_ isize> for IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: &isize) -> IBig
[src]
impl Shl<&'_ isize> for &IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: &isize) -> IBig
[src]
impl Shl<&'_ u128> for IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: &u128) -> IBig
[src]
impl Shl<&'_ u128> for &IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: &u128) -> IBig
[src]
impl Shl<&'_ u16> for IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: &u16) -> IBig
[src]
impl Shl<&'_ u16> for &IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: &u16) -> IBig
[src]
impl Shl<&'_ u32> for IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: &u32) -> IBig
[src]
impl Shl<&'_ u32> for &IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: &u32) -> IBig
[src]
impl Shl<&'_ u64> for IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: &u64) -> IBig
[src]
impl Shl<&'_ u64> for &IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: &u64) -> IBig
[src]
impl Shl<&'_ u8> for IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: &u8) -> IBig
[src]
impl Shl<&'_ u8> for &IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: &u8) -> IBig
[src]
impl Shl<&'_ usize> for IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: &usize) -> IBig
[src]
impl Shl<&'_ usize> for &IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: &usize) -> IBig
[src]
impl Shl<IBig> for UBig
[src]
type Output = UBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: IBig) -> UBig
[src]
impl Shl<IBig> for &UBig
[src]
type Output = UBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: IBig) -> UBig
[src]
impl Shl<IBig> for IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: IBig) -> IBig
[src]
impl Shl<IBig> for &IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: IBig) -> IBig
[src]
impl Shl<UBig> for IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: UBig) -> IBig
[src]
impl Shl<UBig> for &IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: UBig) -> IBig
[src]
impl Shl<i128> for IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: i128) -> IBig
[src]
impl Shl<i128> for &IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: i128) -> IBig
[src]
impl Shl<i16> for IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: i16) -> IBig
[src]
impl Shl<i16> for &IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: i16) -> IBig
[src]
impl Shl<i32> for IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: i32) -> IBig
[src]
impl Shl<i32> for &IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: i32) -> IBig
[src]
impl Shl<i64> for IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: i64) -> IBig
[src]
impl Shl<i64> for &IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: i64) -> IBig
[src]
impl Shl<i8> for IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: i8) -> IBig
[src]
impl Shl<i8> for &IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: i8) -> IBig
[src]
impl Shl<isize> for IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: isize) -> IBig
[src]
impl Shl<isize> for &IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: isize) -> IBig
[src]
impl Shl<u128> for IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: u128) -> IBig
[src]
impl Shl<u128> for &IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: u128) -> IBig
[src]
impl Shl<u16> for IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: u16) -> IBig
[src]
impl Shl<u16> for &IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: u16) -> IBig
[src]
impl Shl<u32> for IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: u32) -> IBig
[src]
impl Shl<u32> for &IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: u32) -> IBig
[src]
impl Shl<u64> for IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: u64) -> IBig
[src]
impl Shl<u64> for &IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: u64) -> IBig
[src]
impl Shl<u8> for IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: u8) -> IBig
[src]
impl Shl<u8> for &IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: u8) -> IBig
[src]
impl Shl<usize> for IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: usize) -> IBig
[src]
impl Shl<usize> for &IBig
[src]
type Output = IBig
The resulting type after applying the <<
operator.
fn shl(self, rhs: usize) -> IBig
[src]
impl ShlAssign<&'_ IBig> for UBig
[src]
fn shl_assign(&mut self, rhs: &IBig)
[src]
impl ShlAssign<&'_ IBig> for IBig
[src]
fn shl_assign(&mut self, rhs: &IBig)
[src]
impl ShlAssign<&'_ UBig> for IBig
[src]
fn shl_assign(&mut self, rhs: &UBig)
[src]
impl ShlAssign<&'_ i128> for IBig
[src]
fn shl_assign(&mut self, rhs: &i128)
[src]
impl ShlAssign<&'_ i16> for IBig
[src]
fn shl_assign(&mut self, rhs: &i16)
[src]
impl ShlAssign<&'_ i32> for IBig
[src]
fn shl_assign(&mut self, rhs: &i32)
[src]
impl ShlAssign<&'_ i64> for IBig
[src]
fn shl_assign(&mut self, rhs: &i64)
[src]
impl ShlAssign<&'_ i8> for IBig
[src]
fn shl_assign(&mut self, rhs: &i8)
[src]
impl ShlAssign<&'_ isize> for IBig
[src]
fn shl_assign(&mut self, rhs: &isize)
[src]
impl ShlAssign<&'_ u128> for IBig
[src]
fn shl_assign(&mut self, rhs: &u128)
[src]
impl ShlAssign<&'_ u16> for IBig
[src]
fn shl_assign(&mut self, rhs: &u16)
[src]
impl ShlAssign<&'_ u32> for IBig
[src]
fn shl_assign(&mut self, rhs: &u32)
[src]
impl ShlAssign<&'_ u64> for IBig
[src]
fn shl_assign(&mut self, rhs: &u64)
[src]
impl ShlAssign<&'_ u8> for IBig
[src]
fn shl_assign(&mut self, rhs: &u8)
[src]
impl ShlAssign<&'_ usize> for IBig
[src]
fn shl_assign(&mut self, rhs: &usize)
[src]
impl ShlAssign<IBig> for UBig
[src]
fn shl_assign(&mut self, rhs: IBig)
[src]
impl ShlAssign<IBig> for IBig
[src]
fn shl_assign(&mut self, rhs: IBig)
[src]
impl ShlAssign<UBig> for IBig
[src]
fn shl_assign(&mut self, rhs: UBig)
[src]
impl ShlAssign<i128> for IBig
[src]
fn shl_assign(&mut self, rhs: i128)
[src]
impl ShlAssign<i16> for IBig
[src]
fn shl_assign(&mut self, rhs: i16)
[src]
impl ShlAssign<i32> for IBig
[src]
fn shl_assign(&mut self, rhs: i32)
[src]
impl ShlAssign<i64> for IBig
[src]
fn shl_assign(&mut self, rhs: i64)
[src]
impl ShlAssign<i8> for IBig
[src]
fn shl_assign(&mut self, rhs: i8)
[src]
impl ShlAssign<isize> for IBig
[src]
fn shl_assign(&mut self, rhs: isize)
[src]
impl ShlAssign<u128> for IBig
[src]
fn shl_assign(&mut self, rhs: u128)
[src]
impl ShlAssign<u16> for IBig
[src]
fn shl_assign(&mut self, rhs: u16)
[src]
impl ShlAssign<u32> for IBig
[src]
fn shl_assign(&mut self, rhs: u32)
[src]
impl ShlAssign<u64> for IBig
[src]
fn shl_assign(&mut self, rhs: u64)
[src]
impl ShlAssign<u8> for IBig
[src]
fn shl_assign(&mut self, rhs: u8)
[src]
impl ShlAssign<usize> for IBig
[src]
fn shl_assign(&mut self, rhs: usize)
[src]
impl Shr<&'_ IBig> for UBig
[src]
type Output = UBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: &IBig) -> UBig
[src]
impl Shr<&'_ IBig> for &UBig
[src]
type Output = UBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: &IBig) -> UBig
[src]
impl Shr<&'_ IBig> for IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: &IBig) -> IBig
[src]
impl Shr<&'_ IBig> for &IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: &IBig) -> IBig
[src]
impl Shr<&'_ UBig> for IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: &UBig) -> IBig
[src]
impl Shr<&'_ UBig> for &IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: &UBig) -> IBig
[src]
impl Shr<&'_ i128> for IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: &i128) -> IBig
[src]
impl Shr<&'_ i128> for &IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: &i128) -> IBig
[src]
impl Shr<&'_ i16> for IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: &i16) -> IBig
[src]
impl Shr<&'_ i16> for &IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: &i16) -> IBig
[src]
impl Shr<&'_ i32> for IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: &i32) -> IBig
[src]
impl Shr<&'_ i32> for &IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: &i32) -> IBig
[src]
impl Shr<&'_ i64> for IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: &i64) -> IBig
[src]
impl Shr<&'_ i64> for &IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: &i64) -> IBig
[src]
impl Shr<&'_ i8> for IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: &i8) -> IBig
[src]
impl Shr<&'_ i8> for &IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: &i8) -> IBig
[src]
impl Shr<&'_ isize> for IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: &isize) -> IBig
[src]
impl Shr<&'_ isize> for &IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: &isize) -> IBig
[src]
impl Shr<&'_ u128> for IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: &u128) -> IBig
[src]
impl Shr<&'_ u128> for &IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: &u128) -> IBig
[src]
impl Shr<&'_ u16> for IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: &u16) -> IBig
[src]
impl Shr<&'_ u16> for &IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: &u16) -> IBig
[src]
impl Shr<&'_ u32> for IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: &u32) -> IBig
[src]
impl Shr<&'_ u32> for &IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: &u32) -> IBig
[src]
impl Shr<&'_ u64> for IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: &u64) -> IBig
[src]
impl Shr<&'_ u64> for &IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: &u64) -> IBig
[src]
impl Shr<&'_ u8> for IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: &u8) -> IBig
[src]
impl Shr<&'_ u8> for &IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: &u8) -> IBig
[src]
impl Shr<&'_ usize> for IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: &usize) -> IBig
[src]
impl Shr<&'_ usize> for &IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: &usize) -> IBig
[src]
impl Shr<IBig> for UBig
[src]
type Output = UBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: IBig) -> UBig
[src]
impl Shr<IBig> for &UBig
[src]
type Output = UBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: IBig) -> UBig
[src]
impl Shr<IBig> for IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: IBig) -> IBig
[src]
impl Shr<IBig> for &IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: IBig) -> IBig
[src]
impl Shr<UBig> for IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: UBig) -> IBig
[src]
impl Shr<UBig> for &IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: UBig) -> IBig
[src]
impl Shr<i128> for IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: i128) -> IBig
[src]
impl Shr<i128> for &IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: i128) -> IBig
[src]
impl Shr<i16> for IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: i16) -> IBig
[src]
impl Shr<i16> for &IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: i16) -> IBig
[src]
impl Shr<i32> for IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: i32) -> IBig
[src]
impl Shr<i32> for &IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: i32) -> IBig
[src]
impl Shr<i64> for IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: i64) -> IBig
[src]
impl Shr<i64> for &IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: i64) -> IBig
[src]
impl Shr<i8> for IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: i8) -> IBig
[src]
impl Shr<i8> for &IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: i8) -> IBig
[src]
impl Shr<isize> for IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: isize) -> IBig
[src]
impl Shr<isize> for &IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: isize) -> IBig
[src]
impl Shr<u128> for IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: u128) -> IBig
[src]
impl Shr<u128> for &IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: u128) -> IBig
[src]
impl Shr<u16> for IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: u16) -> IBig
[src]
impl Shr<u16> for &IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: u16) -> IBig
[src]
impl Shr<u32> for IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: u32) -> IBig
[src]
impl Shr<u32> for &IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: u32) -> IBig
[src]
impl Shr<u64> for IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: u64) -> IBig
[src]
impl Shr<u64> for &IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: u64) -> IBig
[src]
impl Shr<u8> for IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: u8) -> IBig
[src]
impl Shr<u8> for &IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: u8) -> IBig
[src]
impl Shr<usize> for IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: usize) -> IBig
[src]
impl Shr<usize> for &IBig
[src]
type Output = IBig
The resulting type after applying the >>
operator.
fn shr(self, rhs: usize) -> IBig
[src]
impl ShrAssign<&'_ IBig> for UBig
[src]
fn shr_assign(&mut self, rhs: &IBig)
[src]
impl ShrAssign<&'_ IBig> for IBig
[src]
fn shr_assign(&mut self, rhs: &IBig)
[src]
impl ShrAssign<&'_ UBig> for IBig
[src]
fn shr_assign(&mut self, rhs: &UBig)
[src]
impl ShrAssign<&'_ i128> for IBig
[src]
fn shr_assign(&mut self, rhs: &i128)
[src]
impl ShrAssign<&'_ i16> for IBig
[src]
fn shr_assign(&mut self, rhs: &i16)
[src]
impl ShrAssign<&'_ i32> for IBig
[src]
fn shr_assign(&mut self, rhs: &i32)
[src]
impl ShrAssign<&'_ i64> for IBig
[src]
fn shr_assign(&mut self, rhs: &i64)
[src]
impl ShrAssign<&'_ i8> for IBig
[src]
fn shr_assign(&mut self, rhs: &i8)
[src]
impl ShrAssign<&'_ isize> for IBig
[src]
fn shr_assign(&mut self, rhs: &isize)
[src]
impl ShrAssign<&'_ u128> for IBig
[src]
fn shr_assign(&mut self, rhs: &u128)
[src]
impl ShrAssign<&'_ u16> for IBig
[src]
fn shr_assign(&mut self, rhs: &u16)
[src]
impl ShrAssign<&'_ u32> for IBig
[src]
fn shr_assign(&mut self, rhs: &u32)
[src]
impl ShrAssign<&'_ u64> for IBig
[src]
fn shr_assign(&mut self, rhs: &u64)
[src]
impl ShrAssign<&'_ u8> for IBig
[src]
fn shr_assign(&mut self, rhs: &u8)
[src]
impl ShrAssign<&'_ usize> for IBig
[src]
fn shr_assign(&mut self, rhs: &usize)
[src]
impl ShrAssign<IBig> for UBig
[src]
fn shr_assign(&mut self, rhs: IBig)
[src]
impl ShrAssign<IBig> for IBig
[src]
fn shr_assign(&mut self, rhs: IBig)
[src]
impl ShrAssign<UBig> for IBig
[src]
fn shr_assign(&mut self, rhs: UBig)
[src]
impl ShrAssign<i128> for IBig
[src]
fn shr_assign(&mut self, rhs: i128)
[src]
impl ShrAssign<i16> for IBig
[src]
fn shr_assign(&mut self, rhs: i16)
[src]
impl ShrAssign<i32> for IBig
[src]
fn shr_assign(&mut self, rhs: i32)
[src]
impl ShrAssign<i64> for IBig
[src]
fn shr_assign(&mut self, rhs: i64)
[src]
impl ShrAssign<i8> for IBig
[src]
fn shr_assign(&mut self, rhs: i8)
[src]
impl ShrAssign<isize> for IBig
[src]
fn shr_assign(&mut self, rhs: isize)
[src]
impl ShrAssign<u128> for IBig
[src]
fn shr_assign(&mut self, rhs: u128)
[src]
impl ShrAssign<u16> for IBig
[src]
fn shr_assign(&mut self, rhs: u16)
[src]
impl ShrAssign<u32> for IBig
[src]
fn shr_assign(&mut self, rhs: u32)
[src]
impl ShrAssign<u64> for IBig
[src]
fn shr_assign(&mut self, rhs: u64)
[src]
impl ShrAssign<u8> for IBig
[src]
fn shr_assign(&mut self, rhs: u8)
[src]
impl ShrAssign<usize> for IBig
[src]
fn shr_assign(&mut self, rhs: usize)
[src]
impl Signed for IBig
[src]
fn abs(&self) -> Self
[src]
fn abs_sub(&self, other: &Self) -> Self
[src]
fn signum(&self) -> Self
[src]
fn is_positive(&self) -> bool
[src]
fn is_negative(&self) -> bool
[src]
impl StructuralEq for IBig
[src]
impl StructuralPartialEq for IBig
[src]
impl Sub<&'_ IBig> for IBig
[src]
type Output = IBig
The resulting type after applying the -
operator.
fn sub(self, rhs: &IBig) -> IBig
[src]
impl Sub<&'_ IBig> for &IBig
[src]
type Output = IBig
The resulting type after applying the -
operator.
fn sub(self, rhs: &IBig) -> IBig
[src]
impl Sub<IBig> for IBig
[src]
type Output = IBig
The resulting type after applying the -
operator.
fn sub(self, rhs: IBig) -> IBig
[src]
impl Sub<IBig> for &IBig
[src]
type Output = IBig
The resulting type after applying the -
operator.
fn sub(self, rhs: IBig) -> IBig
[src]
impl SubAssign<&'_ IBig> for IBig
[src]
fn sub_assign(&mut self, rhs: &IBig)
[src]
impl SubAssign<IBig> for IBig
[src]
fn sub_assign(&mut self, rhs: IBig)
[src]
impl TryFrom<&'_ IBig> for UBig
[src]
type Error = OutOfBoundsError
The type returned in the event of a conversion error.
fn try_from(x: &IBig) -> Result<UBig, OutOfBoundsError>
[src]
impl TryFrom<IBig> for UBig
[src]
type Error = OutOfBoundsError
The type returned in the event of a conversion error.
fn try_from(x: IBig) -> Result<UBig, OutOfBoundsError>
[src]
impl UnsignedAbs for IBig
[src]
type Output = UBig
fn unsigned_abs(self) -> UBig
[src]
impl UnsignedAbs for &IBig
[src]
type Output = UBig
fn unsigned_abs(self) -> UBig
[src]
impl UpperHex for IBig
[src]
impl Zero for IBig
[src]
Auto Trait Implementations
impl RefUnwindSafe for IBig
impl Send for IBig
impl Sync for IBig
impl Unpin for IBig
impl UnwindSafe for IBig
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> NumAssign for T where
T: Num + NumAssignOps<T>,
[src]
T: Num + NumAssignOps<T>,
impl<T, Rhs> NumAssignOps<Rhs> for T where
T: AddAssign<Rhs> + SubAssign<Rhs> + MulAssign<Rhs> + DivAssign<Rhs> + RemAssign<Rhs>,
[src]
T: AddAssign<Rhs> + SubAssign<Rhs> + MulAssign<Rhs> + DivAssign<Rhs> + RemAssign<Rhs>,
impl<T> NumAssignRef for T where
T: NumAssign + for<'r> NumAssignOps<&'r T>,
[src]
T: NumAssign + for<'r> NumAssignOps<&'r T>,
impl<T, Rhs, Output> NumOps<Rhs, Output> for T where
T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,
[src]
T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,
impl<T> NumRef for T where
T: Num + for<'r> NumOps<&'r T, T>,
[src]
T: Num + for<'r> NumOps<&'r T, T>,
impl<T, Base> RefNum<Base> for T where
T: NumOps<Base, Base> + for<'r> NumOps<&'r Base, Base>,
[src]
T: NumOps<Base, Base> + for<'r> NumOps<&'r Base, Base>,
impl<Borrowed> SampleBorrow<Borrowed> for Borrowed where
Borrowed: SampleUniform,
[src]
Borrowed: SampleUniform,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,