[][src]Struct ontio_std::types::U256

pub struct U256(_);

Implementations

impl U256[src]

pub const MAX: U256[src]

pub const fn new(value: u128) -> Self[src]

pub fn as_u128(&self) -> U128[src]

pub fn from_little_endian(slice: &[u8]) -> Self[src]

pub fn to_le_bytes(&self) -> [u8; 32][src]

Trait Implementations

impl<'a> Add<&'a U128> for U256[src]

type Output = U256

The resulting type after applying the + operator.

impl<'a> Add<&'a U256> for U256[src]

type Output = U256

The resulting type after applying the + operator.

impl Add<U128> for U256[src]

type Output = U256

The resulting type after applying the + operator.

impl Add<U256> for U256[src]

type Output = U256

The resulting type after applying the + operator.

impl Add<u128> for U256[src]

type Output = U256

The resulting type after applying the + operator.

impl AddAssign<U128> for U256[src]

impl AddAssign<U256> for U256[src]

impl Clone for U256[src]

impl Copy for U256[src]

impl Debug for U256[src]

impl Default for U256[src]

impl Display for U256[src]

impl<'a> Div<&'a U128> for U256[src]

type Output = U256

The resulting type after applying the / operator.

impl Div<U128> for U256[src]

type Output = U256

The resulting type after applying the / operator.

impl Div<U256> for U256[src]

type Output = U256

The resulting type after applying the / operator.

impl Div<u128> for U256[src]

type Output = U256

The resulting type after applying the / operator.

impl Eq for U256[src]

impl From<U128> for U256[src]

impl From<u128> for U256[src]

impl<'a> Mul<&'a U128> for U256[src]

type Output = U256

The resulting type after applying the * operator.

impl<'a> Mul<&'a u128> for U256[src]

type Output = U256

The resulting type after applying the * operator.

impl Mul<U128> for U256[src]

type Output = U256

The resulting type after applying the * operator.

impl Mul<U256> for U256[src]

type Output = U256

The resulting type after applying the * operator.

impl Mul<u128> for U256[src]

type Output = U256

The resulting type after applying the * operator.

impl Ord for U256[src]

impl PartialEq<U256> for U256[src]

impl PartialOrd<U256> for U256[src]

impl StructuralEq for U256[src]

impl StructuralPartialEq for U256[src]

impl<'a> Sub<&'a U128> for U256[src]

type Output = U256

The resulting type after applying the - operator.

impl Sub<U128> for U256[src]

type Output = U256

The resulting type after applying the - operator.

impl Sub<U256> for U256[src]

type Output = U256

The resulting type after applying the - operator.

impl Sub<u128> for U256[src]

type Output = U256

The resulting type after applying the - operator.

impl SubAssign<U128> for U256[src]

impl SubAssign<U256> for U256[src]

impl<'a> Sum<&'a U256> for U256[src]

impl Sum<U256> for U256[src]

Auto Trait Implementations

impl Send for U256

impl Sync for U256

impl Unpin for U256

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.