Struct solana_program::slot_hashes::SlotHashes[][src]

#[repr(C)]pub struct SlotHashes(_);

Implementations

impl SlotHashes[src]

pub fn add(&mut self, slot: Slot, hash: Hash)[src]

pub fn get(&self, slot: &Slot) -> Option<&Hash>[src]

pub fn new(slot_hashes: &[SlotHash]) -> Self[src]

Trait Implementations

impl Debug for SlotHashes[src]

impl Default for SlotHashes[src]

impl Deref for SlotHashes[src]

type Target = Vec<SlotHash>

The resulting type after dereferencing.

impl<'de> Deserialize<'de> for SlotHashes[src]

impl FromIterator<(u64, Hash)> for SlotHashes[src]

impl PartialEq<SlotHashes> for SlotHashes[src]

impl Serialize for SlotHashes[src]

impl StructuralPartialEq for SlotHashes[src]

impl Sysvar for SlotHashes[src]

impl SysvarId for SlotHashes[src]

Auto Trait Implementations

impl RefUnwindSafe for SlotHashes

impl Send for SlotHashes

impl Sync for SlotHashes

impl Unpin for SlotHashes

impl UnwindSafe for SlotHashes

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

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

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]