pub struct Pattern {
pub ops: Vec<Op>,
pub pool: Vec<String>,
pub vars: Vec<String>,
pub stack_size: usize,
pub tail_len: usize,
pub verb: Option<String>,
}Expand description
A compiled pattern used for matching paths.
Fields§
§ops: Vec<Op>§pool: Vec<String>§vars: Vec<String>§stack_size: usize§tail_len: usize§verb: Option<String>Trait Implementations§
impl StructuralPartialEq for Pattern
Auto Trait Implementations§
impl Freeze for Pattern
impl RefUnwindSafe for Pattern
impl Send for Pattern
impl Sync for Pattern
impl Unpin for Pattern
impl UnwindSafe for Pattern
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