Struct solana_bucket_map::index_entry::IndexEntry
source · #[repr(C)]pub struct IndexEntry<T: Clone + Copy> {
pub(crate) key: Pubkey,
contents: SingleElementOrMultipleSlots<T>,
}
Expand description
one instance of this per item in the index stored in the index bucket
Fields§
§key: Pubkey
§contents: SingleElementOrMultipleSlots<T>
depends on the contents of ref_count.slot_count_enum
Trait Implementations§
source§impl<T: Clone + Clone + Copy> Clone for IndexEntry<T>
impl<T: Clone + Clone + Copy> Clone for IndexEntry<T>
source§fn clone(&self) -> IndexEntry<T>
fn clone(&self) -> IndexEntry<T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl<T: Copy + Clone + Copy> Copy for IndexEntry<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for IndexEntry<T>where T: RefUnwindSafe,
impl<T> Send for IndexEntry<T>where T: Send,
impl<T> Sync for IndexEntry<T>where T: Sync,
impl<T> Unpin for IndexEntry<T>where T: Unpin,
impl<T> UnwindSafe for IndexEntry<T>where T: UnwindSafe,
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