pub struct Match {
pub kind: MatchKind,
pub blamed: Box<[Blame]>,
pub frame: StackIdx,
}Fields§
§kind: MatchKind§blamed: Box<[Blame]>§frame: StackIdxImplementations§
Source§impl Match
impl Match
Sourcepub fn pattern_matches(&self) -> impl Iterator<Item = &Blame>
pub fn pattern_matches(&self) -> impl Iterator<Item = &Blame>
A quantifier may have multiple possible patterns where each
instantiation will be due to matching exactly one. Each of these
patterns has a sequence of arbitrarily many terms which must all be
matched. This returns a sequence of Blame where each explains how the
corresponding term in the pattern was matched.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Match
impl RefUnwindSafe for Match
impl Send for Match
impl Sync for Match
impl Unpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more