Struct solana_runtime::accounts_hash::CumulativeOffset
source · pub struct CumulativeOffset {
pub index: Vec<usize>,
pub start_offset: usize,
}
Fields§
§index: Vec<usize>
§start_offset: usize
Implementations§
Trait Implementations§
source§impl Debug for CumulativeOffset
impl Debug for CumulativeOffset
source§impl Default for CumulativeOffset
impl Default for CumulativeOffset
source§fn default() -> CumulativeOffset
fn default() -> CumulativeOffset
Returns the “default value” for a type. Read more
source§impl PartialEq<CumulativeOffset> for CumulativeOffset
impl PartialEq<CumulativeOffset> for CumulativeOffset
source§fn eq(&self, other: &CumulativeOffset) -> bool
fn eq(&self, other: &CumulativeOffset) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CumulativeOffset
impl StructuralEq for CumulativeOffset
impl StructuralPartialEq for CumulativeOffset
Auto Trait Implementations§
impl RefUnwindSafe for CumulativeOffset
impl Send for CumulativeOffset
impl Sync for CumulativeOffset
impl Unpin for CumulativeOffset
impl UnwindSafe for CumulativeOffset
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.