Enum languageserver_types::InsertTextFormat [−][src]
pub enum InsertTextFormat {
PlainText,
Snippet,
}Defines how to interpret the insert text in a completion item
Variants
PlainTextSnippet
Trait Implementations
impl Debug for InsertTextFormat[src]
impl Debug for InsertTextFormatfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for InsertTextFormat[src]
impl Eq for InsertTextFormatimpl PartialEq for InsertTextFormat[src]
impl PartialEq for InsertTextFormatfn eq(&self, other: &InsertTextFormat) -> bool[src]
fn eq(&self, other: &InsertTextFormat) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Clone for InsertTextFormat[src]
impl Clone for InsertTextFormatfn clone(&self) -> InsertTextFormat[src]
fn clone(&self) -> InsertTextFormatReturns 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 InsertTextFormatimpl<'de> Deserialize<'de> for InsertTextFormat[src]
impl<'de> Deserialize<'de> for InsertTextFormatfn 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 InsertTextFormatAuto Trait Implementations
impl Send for InsertTextFormat
impl Send for InsertTextFormatimpl Sync for InsertTextFormat
impl Sync for InsertTextFormat