Struct lsp_types::MarkdownClientCapabilities
source · pub struct MarkdownClientCapabilities {
pub parser: String,
pub version: Option<String>,
pub allowed_tags: Option<Vec<String>>,
}
Fields§
§parser: String
The name of the parser.
version: Option<String>
The version of the parser.
A list of HTML tags that the client allows / supports in Markdown.
@since 3.17.0
Trait Implementations§
source§impl Clone for MarkdownClientCapabilities
impl Clone for MarkdownClientCapabilities
source§fn clone(&self) -> MarkdownClientCapabilities
fn clone(&self) -> MarkdownClientCapabilities
Returns a copy 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 Debug for MarkdownClientCapabilities
impl Debug for MarkdownClientCapabilities
source§impl Default for MarkdownClientCapabilities
impl Default for MarkdownClientCapabilities
source§fn default() -> MarkdownClientCapabilities
fn default() -> MarkdownClientCapabilities
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MarkdownClientCapabilities
impl<'de> Deserialize<'de> for MarkdownClientCapabilities
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 StructuralPartialEq for MarkdownClientCapabilities
Auto Trait Implementations§
impl Freeze for MarkdownClientCapabilities
impl RefUnwindSafe for MarkdownClientCapabilities
impl Send for MarkdownClientCapabilities
impl Sync for MarkdownClientCapabilities
impl Unpin for MarkdownClientCapabilities
impl UnwindSafe for MarkdownClientCapabilities
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)