pub enum TextFileMode {
NoLineIndex,
WithLineIndex,
}
Expand description
Text file mode.
Variants§
NoLineIndex
Do not compute a line index (cheapest), set this if you’re not interested in line-based queries
WithLineIndex
Compute a line index (takes memory and cpu time), allows queries based on line ranges
Trait Implementations§
Source§impl Clone for TextFileMode
impl Clone for TextFileMode
Source§fn clone(&self) -> TextFileMode
fn clone(&self) -> TextFileMode
Returns a copy of the value. Read more
1.0.0 · 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 TextFileMode
impl Debug for TextFileMode
Source§impl Default for TextFileMode
impl Default for TextFileMode
Source§impl PartialEq for TextFileMode
impl PartialEq for TextFileMode
impl Copy for TextFileMode
impl StructuralPartialEq for TextFileMode
Auto Trait Implementations§
impl Freeze for TextFileMode
impl RefUnwindSafe for TextFileMode
impl Send for TextFileMode
impl Sync for TextFileMode
impl Unpin for TextFileMode
impl UnwindSafe for TextFileMode
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