pub struct Match {
pub pattern: usize,
pub captures: Vec<Capture>,
}Expand description
A query match that preserves relationships between captures.
Fields§
§pattern: usizeIndex into Query::patterns.
captures: Vec<Capture>Captures in runtime order.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Match
impl Freeze for Match
impl Move for Match
impl RefUnwindSafe for Match
impl Send for Match
impl Sync for Match
impl Unpin for Match
impl UnsafeUnpin for Match
impl UnwindSafe for Match
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