pub struct SignatureHelp {
pub active_parameter: Option<Uinteger>,
pub active_signature: Option<Uinteger>,
pub signatures: Vec<SignatureInformation>,
}Expand description
Signature help represents the signature of something callable. There can be multiple signature but only one active and only one active parameter.
Fields§
§active_parameter: Option<Uinteger>The active parameter of the active signature. If omitted or the value lies outside the
range of signatures[activeSignature].parameters defaults to 0 if the active signature has
parameters. If the active signature has no parameters it is ignored. In future version of
the protocol this property might become mandatory to better express the active parameter if
the active signature does have any.
active_signature: Option<Uinteger>The active signature. If omitted or the value lies outside the range of signatures the
value defaults to zero or is ignored if the SignatureHelp has no signatures.
Whenever possible implementors should make an active decision about the active signature and shouldn’t rely on a default value.
In future version of the protocol this property might become mandatory to better express this.
signatures: Vec<SignatureInformation>One or more signatures. If no signatures are available the signature help request should
return null.
Trait Implementations§
Source§impl Clone for SignatureHelp
impl Clone for SignatureHelp
Source§fn clone(&self) -> SignatureHelp
fn clone(&self) -> SignatureHelp
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more