Struct solana_runtime::accounts_hash::CumulativeOffsets
source · pub struct CumulativeOffsets { /* private fields */ }
Implementations§
source§impl CumulativeOffsets
impl CumulativeOffsets
pub fn from_raw<T>(raw: &[Vec<T>]) -> CumulativeOffsets
pub fn from_raw_2d<T>(raw: &[Vec<Vec<T>>]) -> CumulativeOffsets
pub fn get_slice<'a, 'b, T, U>(&'a self, raw: &'b U, start: usize) -> &'b [T] ⓘwhere U: ExtractSliceFromRawData<'b, T> + 'b,
Trait Implementations§
source§impl Debug for CumulativeOffsets
impl Debug for CumulativeOffsets
source§impl Default for CumulativeOffsets
impl Default for CumulativeOffsets
source§fn default() -> CumulativeOffsets
fn default() -> CumulativeOffsets
Returns the “default value” for a type. Read more