pub struct SemanticCapabilities {
pub definition: bool,
pub declaration: bool,
pub references: bool,
pub implementations: bool,
pub type_hierarchy: bool,
pub call_hierarchy: bool,
pub document_symbols: bool,
pub rename: bool,
}Expand description
Negotiated feature set of one backend instance.
Fields§
§definition: bool§declaration: bool§references: bool§implementations: bool§type_hierarchy: bool§call_hierarchy: bool§document_symbols: bool§rename: boolImplementations§
Source§impl SemanticCapabilities
impl SemanticCapabilities
Sourcepub fn from_server(caps: &ServerCapabilities) -> Self
pub fn from_server(caps: &ServerCapabilities) -> Self
Maps the server’s initialize answer. A provider counts as present
unless the server explicitly answers false.
Trait Implementations§
Source§impl Clone for SemanticCapabilities
impl Clone for SemanticCapabilities
impl Copy for SemanticCapabilities
Source§impl Debug for SemanticCapabilities
impl Debug for SemanticCapabilities
Source§impl Default for SemanticCapabilities
impl Default for SemanticCapabilities
impl Eq for SemanticCapabilities
Source§impl PartialEq for SemanticCapabilities
impl PartialEq for SemanticCapabilities
impl StructuralPartialEq for SemanticCapabilities
Auto Trait Implementations§
impl Freeze for SemanticCapabilities
impl RefUnwindSafe for SemanticCapabilities
impl Send for SemanticCapabilities
impl Sync for SemanticCapabilities
impl Unpin for SemanticCapabilities
impl UnsafeUnpin for SemanticCapabilities
impl UnwindSafe for SemanticCapabilities
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more