Struct tantivy_stacker::Addr
source · pub struct Addr(/* private fields */);
Expand description
Represents a pointer into the MemoryArena
.
Pointer are 32-bits and are split into
two parts.
The first 12 bits represent the id of a page of memory.
The last 20 bits are an address within this page of memory.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Addr
impl RefUnwindSafe for Addr
impl Send for Addr
impl Sync for Addr
impl Unpin for Addr
impl UnwindSafe for Addr
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