[]Struct solana_libra_crypto::hash::GENESIS_BLOCK_ID

pub struct GENESIS_BLOCK_ID { /* fields omitted */ }

Genesis block id is used as a parent of the very first block executed by the executor.

Methods from Deref<Target = HashValue>

pub const LENGTH: usize[src]

pub const LENGTH_IN_BITS: usize[src]

pub fn to_vec(&self) -> Vec<u8>[src]

Dumps into a vector.

pub fn is_zero(&self) -> bool[src]

Check if the hash value is zero.

pub fn last_n_bytes(&self, bytes: usize) -> String[src]

Get the last n bytes as a String.

Important traits for HashValueBitIterator<'a>
pub fn iter_bits(&self) -> HashValueBitIterator[src]

Returns a HashValueBitIterator over all the bits that represent this HashValue.

pub fn common_prefix_bits_len(&self, other: HashValue) -> usize[src]

Returns the length of common prefix of self and other in bits.

Trait Implementations

impl Deref for GENESIS_BLOCK_ID

type Target = HashValue

The resulting type after dereferencing.

impl LazyStatic for GENESIS_BLOCK_ID

Auto Trait Implementations

Blanket Implementations

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.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,