Enum cairo_lang_lowering::diagnostic::MatchKind
source · pub enum MatchKind {
Match,
IfLet,
WhileLet(ExprId, SyntaxStablePtrId),
}
Expand description
The type of branch construct the error occurred in.
Variants§
Trait Implementations§
source§impl PartialEq for MatchKind
impl PartialEq for MatchKind
impl Copy for MatchKind
impl Eq for MatchKind
impl StructuralPartialEq for MatchKind
Auto Trait Implementations§
impl RefUnwindSafe for MatchKind
impl Send for MatchKind
impl Sync for MatchKind
impl Unpin for MatchKind
impl UnwindSafe for MatchKind
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.