pub struct CompletionsArguments {
pub frame_id: Option<u64>,
pub text: String,
pub column: u64,
pub line: Option<u64>,
}
Expand description
Arguments for completions
request.
Fields§
§frame_id: Option<u64>
Returns completions in the scope of this stack frame. If not specified, the completions are returned for the global scope.
text: String
One or more source lines. Typically this is the text users have typed into the debug console before they asked for completion.
column: u64
The position within text
for which to determine the completion proposals. It is measured in UTF-16 code units and the client capability columnsStartAt1
determines whether it is 0- or 1-based.
line: Option<u64>
A line for which to determine the completion proposals. If missing the first line of the text is assumed.
Trait Implementations§
Source§impl Clone for CompletionsArguments
impl Clone for CompletionsArguments
Source§fn clone(&self) -> CompletionsArguments
fn clone(&self) -> CompletionsArguments
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 CompletionsArguments
impl Debug for CompletionsArguments
Source§impl<'de> Deserialize<'de> for CompletionsArguments
impl<'de> Deserialize<'de> for CompletionsArguments
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 CompletionsArguments
impl RefUnwindSafe for CompletionsArguments
impl Send for CompletionsArguments
impl Sync for CompletionsArguments
impl Unpin for CompletionsArguments
impl UnwindSafe for CompletionsArguments
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