pub enum SemanticProviderOwner {
Rust,
EcmaScript,
Python,
Cargo,
Unavailable,
}Expand description
Closed owner of project-wide semantic resolution.
Variants§
Rust
Rust modules, imports, exports, and references.
EcmaScript
JavaScript, TypeScript, and TSX modules, imports, exports, and references.
Python
Python modules, imports, exports, and references.
Cargo
Cargo package and dependency identities.
No independently validated project-wide semantic provider is available.
Implementations§
Source§impl SemanticProviderOwner
impl SemanticProviderOwner
Sourcepub const fn resolution_family(self) -> Option<&'static str>
pub const fn resolution_family(self) -> Option<&'static str>
Return the canonical cross-language resolution family owned by this provider.
The provider label identifies the implementation owner while this family keeps compatible source dialects, such as JavaScript, TypeScript, and TSX, in one resolution namespace.
Trait Implementations§
Source§impl Clone for SemanticProviderOwner
impl Clone for SemanticProviderOwner
Source§fn clone(&self) -> SemanticProviderOwner
fn clone(&self) -> SemanticProviderOwner
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SemanticProviderOwner
impl Debug for SemanticProviderOwner
Source§impl PartialEq for SemanticProviderOwner
impl PartialEq for SemanticProviderOwner
Source§impl Serialize for SemanticProviderOwner
impl Serialize for SemanticProviderOwner
impl Copy for SemanticProviderOwner
impl Eq for SemanticProviderOwner
impl StructuralPartialEq for SemanticProviderOwner
Auto Trait Implementations§
impl Freeze for SemanticProviderOwner
impl RefUnwindSafe for SemanticProviderOwner
impl Send for SemanticProviderOwner
impl Sync for SemanticProviderOwner
impl Unpin for SemanticProviderOwner
impl UnwindSafe for SemanticProviderOwner
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.