[][src]Enum gluon_completion::CompletionSymbolContent

pub enum CompletionSymbolContent<'a, 'ast> {
    Value {
        typ: &'a ArcType,
        kind: CompletionValueKind,
        expr: Option<&'a SpannedExpr<'ast, Symbol>>,
    },
    Type {
        typ: &'a AstType<'ast, Symbol>,
    },
}

Variants

Value

Fields of Value

typ: &'a ArcTypekind: CompletionValueKindexpr: Option<&'a SpannedExpr<'ast, Symbol>>
Type

Fields of Type

typ: &'a AstType<'ast, Symbol>

Trait Implementations

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

impl<'a, 'ast> PartialEq<CompletionSymbolContent<'a, 'ast>> for CompletionSymbolContent<'a, 'ast>[src]

impl<'a, 'ast> StructuralPartialEq for CompletionSymbolContent<'a, 'ast>[src]

Auto Trait Implementations

impl<'a, 'ast> RefUnwindSafe for CompletionSymbolContent<'a, 'ast>

impl<'a, 'ast> Send for CompletionSymbolContent<'a, 'ast>

impl<'a, 'ast> Sync for CompletionSymbolContent<'a, 'ast>

impl<'a, 'ast> Unpin for CompletionSymbolContent<'a, 'ast> where
    'ast: 'a, 

impl<'a, 'ast> UnwindSafe for CompletionSymbolContent<'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, 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.