#[repr(i64)]pub enum InsertTextFormat {
PlainText = 1,
Snippet = 2,
}Expand description
Defines whether the insert text in a completion item should be interpreted as plain text or a snippet.
Variants§
Trait Implementations§
Source§impl Clone for InsertTextFormat
impl Clone for InsertTextFormat
Source§fn clone(&self) -> InsertTextFormat
fn clone(&self) -> InsertTextFormat
Returns a duplicate 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 InsertTextFormat
impl Debug for InsertTextFormat
Source§impl<'de> Deserialize<'de> for InsertTextFormat
impl<'de> Deserialize<'de> for InsertTextFormat
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 PartialEq for InsertTextFormat
impl PartialEq for InsertTextFormat
Source§impl Serialize for InsertTextFormat
impl Serialize for InsertTextFormat
impl StructuralPartialEq for InsertTextFormat
Auto Trait Implementations§
impl Freeze for InsertTextFormat
impl RefUnwindSafe for InsertTextFormat
impl Send for InsertTextFormat
impl Sync for InsertTextFormat
impl Unpin for InsertTextFormat
impl UnwindSafe for InsertTextFormat
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