pub struct TokenizerOptions {
pub enable_extended_globbing: bool,
pub posix_mode: bool,
pub sh_mode: bool,
}
Expand description
Options controlling how the tokenizer operates.
Fields§
§enable_extended_globbing: bool
Whether or not to enable extended globbing patterns (extglob).
posix_mode: bool
Whether or not to operate in POSIX compliance mode.
sh_mode: bool
Whether or not we’re running in SH emulation mode.
Trait Implementations§
Source§impl Clone for TokenizerOptions
impl Clone for TokenizerOptions
Source§fn clone(&self) -> TokenizerOptions
fn clone(&self) -> TokenizerOptions
Returns a duplicate 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 TokenizerOptions
impl Debug for TokenizerOptions
Source§impl Default for TokenizerOptions
impl Default for TokenizerOptions
Source§impl Hash for TokenizerOptions
impl Hash for TokenizerOptions
Source§impl PartialEq for TokenizerOptions
impl PartialEq for TokenizerOptions
impl Eq for TokenizerOptions
impl StructuralPartialEq for TokenizerOptions
Auto Trait Implementations§
impl Freeze for TokenizerOptions
impl RefUnwindSafe for TokenizerOptions
impl Send for TokenizerOptions
impl Sync for TokenizerOptions
impl Unpin for TokenizerOptions
impl UnwindSafe for TokenizerOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.