pub struct TextDocumentContentRegistrationOptions {
pub static_registration_options: StaticRegistrationOptions,
pub text_document_content_options: TextDocumentContentOptions,
}Expand description
Text document content provider registration options.
@since 3.18.0 @proposed
Fields§
§static_registration_options: StaticRegistrationOptions§text_document_content_options: TextDocumentContentOptionsImplementations§
Source§impl TextDocumentContentRegistrationOptions
impl TextDocumentContentRegistrationOptions
pub const fn new( static_registration_options: StaticRegistrationOptions, text_document_content_options: TextDocumentContentOptions, ) -> Self
Trait Implementations§
Source§impl Clone for TextDocumentContentRegistrationOptions
impl Clone for TextDocumentContentRegistrationOptions
Source§fn clone(&self) -> TextDocumentContentRegistrationOptions
fn clone(&self) -> TextDocumentContentRegistrationOptions
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 Default for TextDocumentContentRegistrationOptions
impl Default for TextDocumentContentRegistrationOptions
Source§fn default() -> TextDocumentContentRegistrationOptions
fn default() -> TextDocumentContentRegistrationOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TextDocumentContentRegistrationOptions
impl<'de> Deserialize<'de> for TextDocumentContentRegistrationOptions
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<TextDocumentContentRegistrationOptions> for TextDocumentContent
impl From<TextDocumentContentRegistrationOptions> for TextDocumentContent
Source§fn from(v: TextDocumentContentRegistrationOptions) -> Self
fn from(v: TextDocumentContentRegistrationOptions) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TextDocumentContentRegistrationOptions
impl PartialEq for TextDocumentContentRegistrationOptions
Source§fn eq(&self, other: &TextDocumentContentRegistrationOptions) -> bool
fn eq(&self, other: &TextDocumentContentRegistrationOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for TextDocumentContentRegistrationOptions
impl StructuralPartialEq for TextDocumentContentRegistrationOptions
Auto Trait Implementations§
impl Freeze for TextDocumentContentRegistrationOptions
impl RefUnwindSafe for TextDocumentContentRegistrationOptions
impl Send for TextDocumentContentRegistrationOptions
impl Sync for TextDocumentContentRegistrationOptions
impl Unpin for TextDocumentContentRegistrationOptions
impl UnsafeUnpin for TextDocumentContentRegistrationOptions
impl UnwindSafe for TextDocumentContentRegistrationOptions
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