[][src]Struct sv::util::Hash256

pub struct Hash256(pub [u8; 32]);

256-bit hash for blocks and transactions

It is interpreted as a single little-endian number for display.

Methods

impl Hash256
[src]

Converts the hash into a hex string

Converts a string of 64 hex characters into a hash

Trait Implementations

impl Serializable<Hash256> for Hash256
[src]

impl Clone for Hash256
[src]

Performs copy-assignment from source. Read more

impl Copy for Hash256
[src]

impl Eq for Hash256
[src]

impl PartialOrd<Hash256> for Hash256
[src]

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Default for Hash256
[src]

impl PartialEq<Hash256> for Hash256
[src]

impl Ord for Hash256
[src]

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl Debug for Hash256
[src]

impl Hash for Hash256
[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Send for Hash256

impl Sync for Hash256

Blanket Implementations

impl<T> From for T
[src]

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

impl<T> Same for T

Should always be Self