pub struct Memory {
pub records: usize,
pub index: usize,
pub mapped: usize,
}Expand description
The memory a variant takes, in bytes.
Fields§
§records: usizeThe records, ids and values, held in memory. A variant that shares its records with others counts them in full.
index: usizeThe index built over the records, beyond the records themselves.
mapped: usizeFiles mapped into memory: the operating system pages them in as a search reads them.
Trait Implementations§
impl Copy for Memory
impl Eq for Memory
impl StructuralPartialEq for Memory
Auto Trait Implementations§
impl Forget for Memory
impl Freeze for Memory
impl Move for Memory
impl RefUnwindSafe for Memory
impl Send for Memory
impl Sync for Memory
impl Unpin for Memory
impl UnsafeUnpin for Memory
impl UnwindSafe for Memory
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