[−][src]Struct shared::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]
R: Read,
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]
fn deserialize<R>(target: &mut R) -> Result<u256, DeserializationError> where
R: Read,
[src]
R: Read,
impl Eq for u256
[src]
impl Hash for u256
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,