Enum gluon_completion::Match
source · pub enum Match<'a, 'ast> {
Expr(&'a SpannedExpr<'ast, Symbol>),
Pattern(&'a SpannedPattern<'ast, Symbol>),
Ident(Span<BytePos>, &'a Symbol, ArcType),
Type(Span<BytePos>, &'a SymbolRef, ArcKind),
}
Variants§
Expr(&'a SpannedExpr<'ast, Symbol>)
Pattern(&'a SpannedPattern<'ast, Symbol>)
Ident(Span<BytePos>, &'a Symbol, ArcType)
Type(Span<BytePos>, &'a SymbolRef, ArcKind)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, 'ast> RefUnwindSafe for Match<'a, 'ast>
impl<'a, 'ast> Send for Match<'a, 'ast>
impl<'a, 'ast> Sync for Match<'a, 'ast>
impl<'a, 'ast> Unpin for Match<'a, 'ast>
impl<'a, 'ast> UnwindSafe for Match<'a, 'ast>
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