pub struct InlineCompletionItem {
pub insert_text: String,
pub filter_text: Option<String>,
pub range: Option<Range>,
pub command: Option<Command>,
}Expand description
Inline completion item (LSP 3.18 preview)
Fields§
§insert_text: StringThe text to be inserted.
filter_text: Option<String>The text to be used for filtering.
range: Option<Range>The range to be replaced by the completion.
command: Option<Command>An optional command to be executed after the completion is inserted.
Trait Implementations§
Source§impl Clone for InlineCompletionItem
impl Clone for InlineCompletionItem
Source§fn clone(&self) -> InlineCompletionItem
fn clone(&self) -> InlineCompletionItem
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 InlineCompletionItem
impl Debug for InlineCompletionItem
Source§impl<'de> Deserialize<'de> for InlineCompletionItem
impl<'de> Deserialize<'de> for InlineCompletionItem
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
Auto Trait Implementations§
impl Freeze for InlineCompletionItem
impl RefUnwindSafe for InlineCompletionItem
impl Send for InlineCompletionItem
impl Sync for InlineCompletionItem
impl Unpin for InlineCompletionItem
impl UnsafeUnpin for InlineCompletionItem
impl UnwindSafe for InlineCompletionItem
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