Enum languageserver_types::InsertTextFormat [−][src]
pub enum InsertTextFormat { PlainText, Snippet, }
Defines how to interpret the insert text in a completion item
Variants
PlainText
Snippet
Trait Implementations
impl Debug for InsertTextFormat
[src]
impl Debug for InsertTextFormat
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 InsertTextFormat
[src]
impl Eq for InsertTextFormat
impl PartialEq for InsertTextFormat
[src]
impl PartialEq for InsertTextFormat
fn eq(&self, other: &InsertTextFormat) -> bool
[src]
fn eq(&self, other: &InsertTextFormat) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Clone for InsertTextFormat
[src]
impl Clone for InsertTextFormat
fn clone(&self) -> InsertTextFormat
[src]
fn clone(&self) -> InsertTextFormat
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for InsertTextFormat
[src]
impl Copy for InsertTextFormat
impl<'de> Deserialize<'de> for InsertTextFormat
[src]
impl<'de> Deserialize<'de> for InsertTextFormat
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Serialize for InsertTextFormat
[src]
impl Serialize for InsertTextFormat
Auto Trait Implementations
impl Send for InsertTextFormat
impl Send for InsertTextFormat
impl Sync for InsertTextFormat
impl Sync for InsertTextFormat