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
Auto Trait Implementations§
impl RefUnwindSafe for CumulativeOffsets
impl Send for CumulativeOffsets
impl Sync for CumulativeOffsets
impl Unpin for CumulativeOffsets
impl UnwindSafe for CumulativeOffsets
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more