pub enum ScopeEntry {
Value(Res),
Type(DefId),
Trait(DefId),
}Expand description
What a name in a module’s scope is bound to: what completion offers
(spec docs/superpowers/specs/2026-10-08-phase-3-2-lsp-core-design.md
§4.3).
Variants§
Value(Res)
A value: a definition, a variant or a builtin.
Type(DefId)
A record or a sum type.
Trait(DefId)
A trait.
Trait Implementations§
Source§impl Clone for ScopeEntry
impl Clone for ScopeEntry
impl Copy for ScopeEntry
Source§impl Debug for ScopeEntry
impl Debug for ScopeEntry
impl Eq for ScopeEntry
Source§impl PartialEq for ScopeEntry
impl PartialEq for ScopeEntry
impl StructuralPartialEq for ScopeEntry
Auto Trait Implementations§
impl Freeze for ScopeEntry
impl RefUnwindSafe for ScopeEntry
impl Send for ScopeEntry
impl Sync for ScopeEntry
impl Unpin for ScopeEntry
impl UnsafeUnpin for ScopeEntry
impl UnwindSafe for ScopeEntry
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.