pub struct Match<N> {
pub rule: usize,
pub bindings: Vec<N>,
}Expand description
What a successful match found.
Fields§
§rule: usizeWhich rule of the table fired.
bindings: Vec<N>What the pattern bound, in the order it binds it.
Trait Implementations§
impl<N: Eq> Eq for Match<N>
impl<N: PartialEq> StructuralPartialEq for Match<N>
Auto Trait Implementations§
impl<N> Freeze for Match<N>
impl<N> RefUnwindSafe for Match<N>where
Vec<N>: RefUnwindSafe,
impl<N> Send for Match<N>
impl<N> Sync for Match<N>
impl<N> Unpin for Match<N>
impl<N> UnsafeUnpin for Match<N>where
Vec<N>: UnsafeUnpin,
impl<N> UnwindSafe for Match<N>where
Vec<N>: UnwindSafe,
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