Struct eetf::BigInteger
[−]
[src]
pub struct BigInteger { pub value: BigInt, }
Multiple precision integer.
Fields
value: BigInt
The value of the integer
Trait Implementations
impl ToPrimitive for BigInteger
[src]
fn to_i64(&self) -> Option<i64>
Converts the value of self
to an i64
.
fn to_u64(&self) -> Option<u64>
Converts the value of self
to an u64
.
fn to_f64(&self) -> Option<f64>
Converts the value of self
to an f64
.
fn to_isize(&self) -> Option<isize>
Converts the value of self
to an isize
.
fn to_i8(&self) -> Option<i8>
Converts the value of self
to an i8
.
fn to_i16(&self) -> Option<i16>
Converts the value of self
to an i16
.
fn to_i32(&self) -> Option<i32>
Converts the value of self
to an i32
.
fn to_usize(&self) -> Option<usize>
Converts the value of self
to a usize
.
fn to_u8(&self) -> Option<u8>
Converts the value of self
to an u8
.
fn to_u16(&self) -> Option<u16>
Converts the value of self
to an u16
.
fn to_u32(&self) -> Option<u32>
Converts the value of self
to an u32
.
fn to_f32(&self) -> Option<f32>
Converts the value of self
to an f32
.
impl ToBigInt for BigInteger
[src]
impl ToBigUint for BigInteger
[src]
fn to_biguint(&self) -> Option<BigUint>
Converts the value of self
to a BigUint
.
impl Debug for BigInteger
[src]
impl PartialEq for BigInteger
[src]
fn eq(&self, __arg_0: &BigInteger) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &BigInteger) -> bool
This method tests for !=
.
impl Clone for BigInteger
[src]
fn clone(&self) -> BigInteger
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Display for BigInteger
[src]
impl From<i8> for BigInteger
[src]
impl From<u8> for BigInteger
[src]
impl From<i16> for BigInteger
[src]
impl From<u16> for BigInteger
[src]
impl From<i32> for BigInteger
[src]
impl From<u32> for BigInteger
[src]
impl From<i64> for BigInteger
[src]
impl From<u64> for BigInteger
[src]
impl From<isize> for BigInteger
[src]
impl From<usize> for BigInteger
[src]
impl<'a> From<&'a FixInteger> for BigInteger
[src]
fn from(i: &FixInteger) -> Self
Performs the conversion.