#[repr(i64)]pub enum InsertTextMode {
AsIs = 1,
AdjustIndentation = 2,
}Expand description
How whitespace and indentation is handled during completion item insertion.
Variants§
Trait Implementations§
Source§impl Clone for InsertTextMode
impl Clone for InsertTextMode
Source§fn clone(&self) -> InsertTextMode
fn clone(&self) -> InsertTextMode
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 InsertTextMode
impl Debug for InsertTextMode
Source§impl<'de> Deserialize<'de> for InsertTextMode
impl<'de> Deserialize<'de> for InsertTextMode
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 InsertTextMode
impl PartialEq for InsertTextMode
Source§impl Serialize for InsertTextMode
impl Serialize for InsertTextMode
impl StructuralPartialEq for InsertTextMode
Auto Trait Implementations§
impl Freeze for InsertTextMode
impl RefUnwindSafe for InsertTextMode
impl Send for InsertTextMode
impl Sync for InsertTextMode
impl Unpin for InsertTextMode
impl UnwindSafe for InsertTextMode
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