BigNumber

Type Alias BigNumber 

Source
pub type BigNumber = BigNumber;

Aliased Type§

pub struct BigNumber {
    pub value: FBig<HalfAway, 10>,
}

Fields§

§value: FBig<HalfAway, 10>

Trait Implementations§

Source§

impl Add for &BigNumber

Source§

type Output = BigNumber

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add for BigNumber

Source§

type Output = BigNumber

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl<'de> Deserialize<'de> for BigNumber

Source§

fn deserialize<D>(d: D) -> Result<Self, D::Error>
where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for BigNumber

Source§

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

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

impl Div for &BigNumber

Source§

type Output = BigNumber

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl Div for BigNumber

Source§

type Output = BigNumber

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl From<U128> for BigNumber

Source§

fn from(n: U128) -> Self

Converts to this type from the input type.
Source§

impl From<U256> for BigNumber

Source§

fn from(n: U256) -> Self

Converts to this type from the input type.
Source§

impl From<U512> for BigNumber

Source§

fn from(n: U512) -> Self

Converts to this type from the input type.
Source§

impl From<f32> for BigNumber

Source§

fn from(n: f32) -> Self

Converts to this type from the input type.
Source§

impl From<f64> for BigNumber

Source§

fn from(n: f64) -> Self

Converts to this type from the input type.
Source§

impl From<usize> for BigNumber

Source§

fn from(n: usize) -> Self

Converts to this type from the input type.
Source§

impl FromStr for BigNumber

Source§

type Err = BigNumberError

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
Source§

impl Mul for &BigNumber

Source§

type Output = BigNumber

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul for BigNumber

Source§

type Output = BigNumber

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Serialize for BigNumber

Source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Sub for &BigNumber

Source§

type Output = BigNumber

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub for BigNumber

Source§

type Output = BigNumber

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more