pub enum CompletionSymbolContent<'a, 'ast> {
Value {
typ: &'a ArcType,
kind: CompletionValueKind,
expr: Option<&'a SpannedExpr<'ast, Symbol>>,
},
Type {
typ: &'a AstType<'ast, Symbol>,
},
}
Variants§
Trait Implementations§
source§impl<'a, 'ast> Debug for CompletionSymbolContent<'a, 'ast>
impl<'a, 'ast> Debug for CompletionSymbolContent<'a, 'ast>
source§impl<'a, 'ast> PartialEq for CompletionSymbolContent<'a, 'ast>
impl<'a, 'ast> PartialEq for CompletionSymbolContent<'a, 'ast>
source§fn eq(&self, other: &CompletionSymbolContent<'a, 'ast>) -> bool
fn eq(&self, other: &CompletionSymbolContent<'a, 'ast>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a, 'ast> StructuralPartialEq for CompletionSymbolContent<'a, 'ast>
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>
impl<'a, 'ast> UnwindSafe for CompletionSymbolContent<'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