Struct lsp2::TypeHierarchyRegistrationOptions
pub struct TypeHierarchyRegistrationOptions {
pub text_document_registration_options: TextDocumentRegistrationOptions,
pub type_hierarchy_options: TypeHierarchyOptions,
pub static_registration_options: StaticRegistrationOptions,
}
Fields§
§text_document_registration_options: TextDocumentRegistrationOptions
§type_hierarchy_options: TypeHierarchyOptions
§static_registration_options: StaticRegistrationOptions
Trait Implementations§
§impl Clone for TypeHierarchyRegistrationOptions
impl Clone for TypeHierarchyRegistrationOptions
§fn clone(&self) -> TypeHierarchyRegistrationOptions
fn clone(&self) -> TypeHierarchyRegistrationOptions
Returns a copy 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 more§impl Debug for TypeHierarchyRegistrationOptions
impl Debug for TypeHierarchyRegistrationOptions
§impl Default for TypeHierarchyRegistrationOptions
impl Default for TypeHierarchyRegistrationOptions
§fn default() -> TypeHierarchyRegistrationOptions
fn default() -> TypeHierarchyRegistrationOptions
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for TypeHierarchyRegistrationOptions
impl<'de> Deserialize<'de> for TypeHierarchyRegistrationOptions
§fn deserialize<__D>(
__deserializer: __D
) -> Result<TypeHierarchyRegistrationOptions, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<TypeHierarchyRegistrationOptions, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl PartialEq<TypeHierarchyRegistrationOptions> for TypeHierarchyRegistrationOptions
impl PartialEq<TypeHierarchyRegistrationOptions> for TypeHierarchyRegistrationOptions
§fn eq(&self, other: &TypeHierarchyRegistrationOptions) -> bool
fn eq(&self, other: &TypeHierarchyRegistrationOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl Serialize for TypeHierarchyRegistrationOptions
impl Serialize for TypeHierarchyRegistrationOptions
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for TypeHierarchyRegistrationOptions
impl StructuralEq for TypeHierarchyRegistrationOptions
impl StructuralPartialEq for TypeHierarchyRegistrationOptions
Auto Trait Implementations§
impl RefUnwindSafe for TypeHierarchyRegistrationOptions
impl Send for TypeHierarchyRegistrationOptions
impl Sync for TypeHierarchyRegistrationOptions
impl Unpin for TypeHierarchyRegistrationOptions
impl UnwindSafe for TypeHierarchyRegistrationOptions
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.