pub struct SignatureHelpParams {
pub context: Option<SignatureHelpContext>,
pub work_done_progress_params: WorkDoneProgressParams,
pub text_document_position_params: TextDocumentPositionParams,
}Expand description
Parameters for a SignatureHelpRequest.
Fields§
§context: Option<SignatureHelpContext>The signature help context. This is only available if the client specifies
to send this using the client capability textDocument.signatureHelp.contextSupport === true
@since 3.15.0
work_done_progress_params: WorkDoneProgressParams§text_document_position_params: TextDocumentPositionParamsImplementations§
Source§impl SignatureHelpParams
impl SignatureHelpParams
pub const fn new( context: Option<SignatureHelpContext>, work_done_progress_params: WorkDoneProgressParams, text_document_position_params: TextDocumentPositionParams, ) -> Self
Trait Implementations§
Source§impl Clone for SignatureHelpParams
impl Clone for SignatureHelpParams
Source§fn clone(&self) -> SignatureHelpParams
fn clone(&self) -> SignatureHelpParams
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 SignatureHelpParams
impl Debug for SignatureHelpParams
Source§impl<'de> Deserialize<'de> for SignatureHelpParams
impl<'de> Deserialize<'de> for SignatureHelpParams
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 SignatureHelpParams
impl Hash for SignatureHelpParams
Source§impl PartialEq for SignatureHelpParams
impl PartialEq for SignatureHelpParams
Source§fn eq(&self, other: &SignatureHelpParams) -> bool
fn eq(&self, other: &SignatureHelpParams) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SignatureHelpParams
impl Serialize for SignatureHelpParams
impl Eq for SignatureHelpParams
impl StructuralPartialEq for SignatureHelpParams
Auto Trait Implementations§
impl Freeze for SignatureHelpParams
impl RefUnwindSafe for SignatureHelpParams
impl Send for SignatureHelpParams
impl Sync for SignatureHelpParams
impl Unpin for SignatureHelpParams
impl UnsafeUnpin for SignatureHelpParams
impl UnwindSafe for SignatureHelpParams
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