#[repr(C, packed(1))]pub struct KeyPointer {
pub key: Key,
pub block_pointer: U64<LE>,
pub generation: U64<LE>,
}
Expand description
For internal (non-leaf) nodes, the node header is followed by a dynamic amount of key pointers.
Fields§
§key: Key
§block_pointer: U64<LE>
§generation: U64<LE>
Trait Implementations§
Source§impl AsBytes for KeyPointer
impl AsBytes for KeyPointer
Source§impl Clone for KeyPointer
impl Clone for KeyPointer
Source§fn clone(&self) -> KeyPointer
fn clone(&self) -> KeyPointer
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 moreSource§impl Debug for KeyPointer
impl Debug for KeyPointer
impl Copy for KeyPointer
impl FromBytes for KeyPointer
impl Unaligned for KeyPointer
Auto Trait Implementations§
impl Freeze for KeyPointer
impl RefUnwindSafe for KeyPointer
impl Send for KeyPointer
impl Sync for KeyPointer
impl Unpin for KeyPointer
impl UnwindSafe for KeyPointer
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