pub struct Match<'t> {
pub marker: MarkerEnum<'t>,
pub sub_matches: Vec<Match<'t>>,
}
Expand description
A Match
. Note that matches are represented in a tree structure, following the structure of
the patterns
Fields
marker: MarkerEnum<'t>
The marker associated with this match
sub_matches: Vec<Match<'t>>
The sub-matches
Implementations
Trait Implementations
Auto Trait Implementations
impl<'t> RefUnwindSafe for Match<'t>
impl<'t> Send for Match<'t>
impl<'t> Sync for Match<'t>
impl<'t> Unpin for Match<'t>
impl<'t> UnwindSafe for Match<'t>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more