pub struct DocumentRangeFormattingOptions {
pub ranges_support: Option<bool>,
pub work_done_progress_options: WorkDoneProgressOptions,
}Expand description
Provider options for a DocumentRangeFormattingRequest.
Fields§
§ranges_support: Option<bool>Whether the server supports formatting multiple ranges at once.
@since 3.18.0
work_done_progress_options: WorkDoneProgressOptionsImplementations§
Source§impl DocumentRangeFormattingOptions
impl DocumentRangeFormattingOptions
pub const fn new( ranges_support: Option<bool>, work_done_progress_options: WorkDoneProgressOptions, ) -> Self
Trait Implementations§
Source§impl Clone for DocumentRangeFormattingOptions
impl Clone for DocumentRangeFormattingOptions
Source§fn clone(&self) -> DocumentRangeFormattingOptions
fn clone(&self) -> DocumentRangeFormattingOptions
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 moreimpl Copy for DocumentRangeFormattingOptions
Source§impl Default for DocumentRangeFormattingOptions
impl Default for DocumentRangeFormattingOptions
Source§fn default() -> DocumentRangeFormattingOptions
fn default() -> DocumentRangeFormattingOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DocumentRangeFormattingOptions
impl<'de> Deserialize<'de> for DocumentRangeFormattingOptions
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
impl Eq for DocumentRangeFormattingOptions
Source§impl From<DocumentRangeFormattingOptions> for DocumentRangeFormattingProvider
impl From<DocumentRangeFormattingOptions> for DocumentRangeFormattingProvider
Source§fn from(v: DocumentRangeFormattingOptions) -> Self
fn from(v: DocumentRangeFormattingOptions) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for DocumentRangeFormattingOptions
Auto Trait Implementations§
impl Freeze for DocumentRangeFormattingOptions
impl RefUnwindSafe for DocumentRangeFormattingOptions
impl Send for DocumentRangeFormattingOptions
impl Sync for DocumentRangeFormattingOptions
impl Unpin for DocumentRangeFormattingOptions
impl UnsafeUnpin for DocumentRangeFormattingOptions
impl UnwindSafe for DocumentRangeFormattingOptions
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