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§impl Debug for DictSecRoot
impl Debug for DictSecRoot
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more