pub struct InlineCompletionList {
pub items: Vec<InlineCompletionItem>,
}Expand description
Represents a collection of inline completion items to be presented in the editor.
@since 3.18.0 @proposed
Fields§
§items: Vec<InlineCompletionItem>The inline completion items
Implementations§
Source§impl InlineCompletionList
impl InlineCompletionList
pub const fn new(items: Vec<InlineCompletionItem>) -> Self
Trait Implementations§
Source§impl Clone for InlineCompletionList
impl Clone for InlineCompletionList
Source§fn clone(&self) -> InlineCompletionList
fn clone(&self) -> InlineCompletionList
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InlineCompletionList
impl Debug for InlineCompletionList
Source§impl Default for InlineCompletionList
impl Default for InlineCompletionList
Source§fn default() -> InlineCompletionList
fn default() -> InlineCompletionList
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InlineCompletionList
impl<'de> Deserialize<'de> for InlineCompletionList
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 From<InlineCompletionList> for InlineCompletionResponse
impl From<InlineCompletionList> for InlineCompletionResponse
Source§fn from(v: InlineCompletionList) -> Self
fn from(v: InlineCompletionList) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InlineCompletionList
impl PartialEq for InlineCompletionList
Source§fn eq(&self, other: &InlineCompletionList) -> bool
fn eq(&self, other: &InlineCompletionList) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for InlineCompletionList
impl Serialize for InlineCompletionList
impl Eq for InlineCompletionList
impl StructuralPartialEq for InlineCompletionList
Auto Trait Implementations§
impl Freeze for InlineCompletionList
impl RefUnwindSafe for InlineCompletionList
impl Send for InlineCompletionList
impl Sync for InlineCompletionList
impl Unpin for InlineCompletionList
impl UnsafeUnpin for InlineCompletionList
impl UnwindSafe for InlineCompletionList
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