[][src]Struct ontio_std::prelude::I128

pub struct I128(_);

Implementations

impl I128[src]

pub const fn new(val: i128) -> Self[src]

pub const fn to_u128(self) -> U128[src]

pub const fn from_le_bytes(bs: [u8; 16]) -> Self[src]

pub const fn to_le_bytes(self) -> [u8; 16][src]

pub const fn raw(self) -> i128[src]

Trait Implementations

impl Clone for I128[src]

impl Copy for I128[src]

impl Default for I128[src]

impl Encoder for I128[src]

impl Eq for I128[src]

impl Ord for I128[src]

impl PartialEq<I128> for I128[src]

impl PartialOrd<I128> for I128[src]

impl StructuralEq for I128[src]

impl StructuralPartialEq for I128[src]

Auto Trait Implementations

impl Send for I128

impl Sync for I128

impl Unpin for I128

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, 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.