pub struct DocumentOnTypeFormattingRegistrationOptions {
pub text_document_registration_options: TextDocumentRegistrationOptions,
pub document_on_type_formatting_options: DocumentOnTypeFormattingOptions,
}Expand description
Registration options for a
DocumentOnTypeFormattingRequest.
Fields§
§text_document_registration_options: TextDocumentRegistrationOptions§document_on_type_formatting_options: DocumentOnTypeFormattingOptionsTrait Implementations§
Source§impl Clone for DocumentOnTypeFormattingRegistrationOptions
impl Clone for DocumentOnTypeFormattingRegistrationOptions
Source§fn clone(&self) -> DocumentOnTypeFormattingRegistrationOptions
fn clone(&self) -> DocumentOnTypeFormattingRegistrationOptions
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 Default for DocumentOnTypeFormattingRegistrationOptions
impl Default for DocumentOnTypeFormattingRegistrationOptions
Source§fn default() -> DocumentOnTypeFormattingRegistrationOptions
fn default() -> DocumentOnTypeFormattingRegistrationOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DocumentOnTypeFormattingRegistrationOptions
impl<'de> Deserialize<'de> for DocumentOnTypeFormattingRegistrationOptions
Source§fn 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
Auto Trait Implementations§
impl Freeze for DocumentOnTypeFormattingRegistrationOptions
impl RefUnwindSafe for DocumentOnTypeFormattingRegistrationOptions
impl Send for DocumentOnTypeFormattingRegistrationOptions
impl Sync for DocumentOnTypeFormattingRegistrationOptions
impl Unpin for DocumentOnTypeFormattingRegistrationOptions
impl UnwindSafe for DocumentOnTypeFormattingRegistrationOptions
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