pub struct DictSecRoot {
pub term_count: u32,
pub restart_interval: u32,
pub n_chunks: usize,
pub data_off: u64,
pub data_len: u64,
pub leaves: Vec<(LeafRef, usize, u64, Vec<u8>)>,
}Expand description
The root of one dictionary section.
Fields§
§term_count: u32Terms in the section.
restart_interval: u32Restart interval of its front-coded runs.
n_chunks: usizeChunks in the section.
data_off: u64Offset of the section’s first chunk within DICT_DATA.
data_len: u64Bytes of chunk data.
leaves: Vec<(LeafRef, usize, u64, Vec<u8>)>Leaves: (leaf, first run, chunk offset within the section's data, first key).
Trait Implementations§
Source§impl Clone for DictSecRoot
impl Clone for DictSecRoot
Source§fn clone(&self) -> DictSecRoot
fn clone(&self) -> DictSecRoot
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 moreSource§impl Debug for DictSecRoot
impl Debug for DictSecRoot
Source§impl Default for DictSecRoot
impl Default for DictSecRoot
Source§fn default() -> DictSecRoot
fn default() -> DictSecRoot
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DictSecRoot
impl RefUnwindSafe for DictSecRoot
impl Send for DictSecRoot
impl Sync for DictSecRoot
impl Unpin for DictSecRoot
impl UnsafeUnpin for DictSecRoot
impl UnwindSafe for DictSecRoot
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