Struct solana_runtime::ancestors::Ancestors
source · pub struct Ancestors { /* private fields */ }
Implementations§
source§impl Ancestors
impl Ancestors
pub fn keys(&self) -> Vec<Slot>
pub fn get(&self, slot: &Slot) -> bool
pub fn remove(&mut self, slot: &Slot)
pub fn contains_key(&self, slot: &Slot) -> bool
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn min_slot(&self) -> Slot
pub fn max_slot(&self) -> Slot
Trait Implementations§
source§impl PartialEq for Ancestors
impl PartialEq for Ancestors
impl StructuralPartialEq for Ancestors
Auto Trait Implementations§
impl RefUnwindSafe for Ancestors
impl Send for Ancestors
impl Sync for Ancestors
impl Unpin for Ancestors
impl UnwindSafe for Ancestors
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