pub struct DocumentFormattingOptions {
pub work_done_progress_options: WorkDoneProgressOptions,
}Expand description
Provider options for a DocumentFormattingRequest.
Fields§
§work_done_progress_options: WorkDoneProgressOptionsImplementations§
Source§impl DocumentFormattingOptions
impl DocumentFormattingOptions
pub const fn new(work_done_progress_options: WorkDoneProgressOptions) -> Self
Trait Implementations§
Source§impl Clone for DocumentFormattingOptions
impl Clone for DocumentFormattingOptions
Source§fn clone(&self) -> DocumentFormattingOptions
fn clone(&self) -> DocumentFormattingOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DocumentFormattingOptions
impl Debug for DocumentFormattingOptions
Source§impl Default for DocumentFormattingOptions
impl Default for DocumentFormattingOptions
Source§fn default() -> DocumentFormattingOptions
fn default() -> DocumentFormattingOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DocumentFormattingOptions
impl<'de> Deserialize<'de> for DocumentFormattingOptions
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
Source§impl From<DocumentFormattingOptions> for DocumentFormattingProvider
impl From<DocumentFormattingOptions> for DocumentFormattingProvider
Source§fn from(v: DocumentFormattingOptions) -> Self
fn from(v: DocumentFormattingOptions) -> Self
Converts to this type from the input type.
Source§impl Hash for DocumentFormattingOptions
impl Hash for DocumentFormattingOptions
Source§impl PartialEq for DocumentFormattingOptions
impl PartialEq for DocumentFormattingOptions
Source§fn eq(&self, other: &DocumentFormattingOptions) -> bool
fn eq(&self, other: &DocumentFormattingOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DocumentFormattingOptions
impl Eq for DocumentFormattingOptions
impl StructuralPartialEq for DocumentFormattingOptions
Auto Trait Implementations§
impl Freeze for DocumentFormattingOptions
impl RefUnwindSafe for DocumentFormattingOptions
impl Send for DocumentFormattingOptions
impl Sync for DocumentFormattingOptions
impl Unpin for DocumentFormattingOptions
impl UnsafeUnpin for DocumentFormattingOptions
impl UnwindSafe for DocumentFormattingOptions
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