Enum languageserver_types::HoverContents [−][src]
pub enum HoverContents { Scalar(MarkedString), Array(Vec<MarkedString>), Markup(MarkupContent), }
Hover contents could be single entry or multiple entries.
Variants
Scalar(MarkedString)
Array(Vec<MarkedString>)
Markup(MarkupContent)
Trait Implementations
impl Debug for HoverContents
[src]
impl Debug for HoverContents
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for HoverContents
[src]
impl Eq for HoverContents
impl PartialEq for HoverContents
[src]
impl PartialEq for HoverContents
fn eq(&self, other: &HoverContents) -> bool
[src]
fn eq(&self, other: &HoverContents) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &HoverContents) -> bool
[src]
fn ne(&self, other: &HoverContents) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for HoverContents
impl Send for HoverContents
impl Sync for HoverContents
impl Sync for HoverContents