pub struct InlineCompletionParams {
pub context: InlineCompletionContext,
pub work_done_progress_params: WorkDoneProgressParams,
pub text_document_position_params: TextDocumentPositionParams,
}Expand description
A parameter literal used in inline completion requests.
@since 3.18.0 @proposed
Fields§
§context: InlineCompletionContextAdditional information about the context in which inline completions were requested.
work_done_progress_params: WorkDoneProgressParams§text_document_position_params: TextDocumentPositionParamsImplementations§
Source§impl InlineCompletionParams
impl InlineCompletionParams
pub const fn new( context: InlineCompletionContext, work_done_progress_params: WorkDoneProgressParams, text_document_position_params: TextDocumentPositionParams, ) -> Self
Trait Implementations§
Source§impl Clone for InlineCompletionParams
impl Clone for InlineCompletionParams
Source§fn clone(&self) -> InlineCompletionParams
fn clone(&self) -> InlineCompletionParams
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 InlineCompletionParams
impl Debug for InlineCompletionParams
Source§impl<'de> Deserialize<'de> for InlineCompletionParams
impl<'de> Deserialize<'de> for InlineCompletionParams
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 Hash for InlineCompletionParams
impl Hash for InlineCompletionParams
Source§impl PartialEq for InlineCompletionParams
impl PartialEq for InlineCompletionParams
Source§fn eq(&self, other: &InlineCompletionParams) -> bool
fn eq(&self, other: &InlineCompletionParams) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for InlineCompletionParams
impl Serialize for InlineCompletionParams
impl Eq for InlineCompletionParams
impl StructuralPartialEq for InlineCompletionParams
Auto Trait Implementations§
impl Freeze for InlineCompletionParams
impl RefUnwindSafe for InlineCompletionParams
impl Send for InlineCompletionParams
impl Sync for InlineCompletionParams
impl Unpin for InlineCompletionParams
impl UnsafeUnpin for InlineCompletionParams
impl UnwindSafe for InlineCompletionParams
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