[][src]Struct shared::u256

pub struct u256(_);

Implementations

impl u256[src]

pub fn new() -> u256[src]

pub fn from(target: u64) -> u256[src]

pub fn from_bytes_be(target: [u8; 32]) -> Result<u256, DeserializationError>[src]

pub fn deserialize_be<R>(target: &mut R) -> Result<u256, DeserializationError> where
    R: Read
[src]

pub fn from_hex(target: &str) -> u256[src]

pub fn to_hex(&self) -> String[src]

Trait Implementations

impl Debug for u256[src]

impl Deserializable for u256[src]

impl Eq for u256[src]

impl Hash for u256[src]

impl PartialEq<u256> for u256[src]

impl Serializable for u256[src]

impl<'_> Serializable for &'_ u256[src]

Auto Trait Implementations

impl RefUnwindSafe for u256

impl Send for u256

impl Sync for u256

impl Unpin for u256

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