[][src]Enum gluon_completion::Match

pub enum Match<'a, 'ast> {
    Expr(&'a SpannedExpr<'ast, Symbol>),
    Pattern(&'a SpannedPattern<'ast, Symbol>),
    Ident(Span<BytePos>, &'a SymbolArcType),
    Type(Span<BytePos>, &'a SymbolRefArcKind),
}

Variants

Expr(&'a SpannedExpr<'ast, Symbol>)
Pattern(&'a SpannedPattern<'ast, Symbol>)
Ident(Span<BytePos>, &'a SymbolArcType)
Type(Span<BytePos>, &'a SymbolRefArcKind)

Implementations

impl<'a, 'ast> Match<'a, 'ast>[src]

pub fn span(&self) -> Span<BytePos>[src]

Trait Implementations

impl<'a, 'ast> Clone for Match<'a, 'ast>[src]

impl<'a, 'ast> Debug for Match<'a, 'ast>[src]

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> where
    'ast: 'a, 

impl<'a, 'ast> UnwindSafe for Match<'a, 'ast>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<Id> AsId<Id> for Id where
    Id: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.