pub struct ScanState {Show 16 fields
pub prefix: String,
pub input: String,
pub start: usize,
pub base: String,
pub glob: String,
pub is_brace: bool,
pub is_bracket: bool,
pub is_glob: bool,
pub is_extglob: bool,
pub is_globstar: bool,
pub negated: bool,
pub negated_extglob: bool,
pub max_depth: Option<f64>,
pub tokens: Option<Vec<ScanToken>>,
pub slashes: Option<Vec<usize>>,
pub parts: Option<Vec<String>>,
}Fields§
§prefix: String§input: String§start: usize§base: String§glob: String§is_brace: bool§is_bracket: bool§is_glob: bool§is_extglob: bool§is_globstar: bool§negated: bool§negated_extglob: bool§max_depth: Option<f64>§tokens: Option<Vec<ScanToken>>§slashes: Option<Vec<usize>>§parts: Option<Vec<String>>Trait Implementations§
impl StructuralPartialEq for ScanState
Auto Trait Implementations§
impl Freeze for ScanState
impl RefUnwindSafe for ScanState
impl Send for ScanState
impl Sync for ScanState
impl Unpin for ScanState
impl UnsafeUnpin for ScanState
impl UnwindSafe for ScanState
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