pub struct DocLenSlot {
pub fact: FactId,
pub len: u16,
}Expand description
Per-document length record: [fact 4 | len u16 | pad 2], Uniform
arena.
Fields§
§fact: FactIdThe document (fact) id — the key.
len: u16Token count of the document, saturated at u16::MAX.
Trait Implementations§
Source§impl Clone for DocLenSlot
impl Clone for DocLenSlot
Source§fn clone(&self) -> DocLenSlot
fn clone(&self) -> DocLenSlot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DocLenSlot
Source§impl Debug for DocLenSlot
impl Debug for DocLenSlot
impl Eq for DocLenSlot
Source§impl PartialEq for DocLenSlot
impl PartialEq for DocLenSlot
Source§impl Slot for DocLenSlot
impl Slot for DocLenSlot
impl StructuralPartialEq for DocLenSlot
Auto Trait Implementations§
impl Freeze for DocLenSlot
impl RefUnwindSafe for DocLenSlot
impl Send for DocLenSlot
impl Sync for DocLenSlot
impl Unpin for DocLenSlot
impl UnsafeUnpin for DocLenSlot
impl UnwindSafe for DocLenSlot
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