Struct lsp_types::DeclarationRegistrationOptions
source · [−]pub struct DeclarationRegistrationOptions {
pub declaration_options: DeclarationOptions,
pub text_document_registration_options: TextDocumentRegistrationOptions,
pub static_registration_options: StaticRegistrationOptions,
}
Fields
declaration_options: DeclarationOptions
text_document_registration_options: TextDocumentRegistrationOptions
static_registration_options: StaticRegistrationOptions
Trait Implementations
sourceimpl Clone for DeclarationRegistrationOptions
impl Clone for DeclarationRegistrationOptions
sourcefn clone(&self) -> DeclarationRegistrationOptions
fn clone(&self) -> DeclarationRegistrationOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'de> Deserialize<'de> for DeclarationRegistrationOptions
impl<'de> Deserialize<'de> for DeclarationRegistrationOptions
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<DeclarationRegistrationOptions> for DeclarationRegistrationOptions
impl PartialEq<DeclarationRegistrationOptions> for DeclarationRegistrationOptions
sourcefn eq(&self, other: &DeclarationRegistrationOptions) -> bool
fn eq(&self, other: &DeclarationRegistrationOptions) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DeclarationRegistrationOptions) -> bool
fn ne(&self, other: &DeclarationRegistrationOptions) -> bool
This method tests for !=
.
impl Eq for DeclarationRegistrationOptions
impl StructuralEq for DeclarationRegistrationOptions
impl StructuralPartialEq for DeclarationRegistrationOptions
Auto Trait Implementations
impl RefUnwindSafe for DeclarationRegistrationOptions
impl Send for DeclarationRegistrationOptions
impl Sync for DeclarationRegistrationOptions
impl Unpin for DeclarationRegistrationOptions
impl UnwindSafe for DeclarationRegistrationOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more