Struct languageserver_types::SignatureInformation [−][src]
pub struct SignatureInformation { pub label: String, pub documentation: Option<Documentation>, pub parameters: Option<Vec<ParameterInformation>>, }
Represents the signature of something callable. A signature can have a label, like a function-name, a doc-comment, and a set of parameters.
Fields
label: String
The label of this signature. Will be shown in the UI.
documentation: Option<Documentation>
The human-readable doc-comment of this signature. Will be shown in the UI but can be omitted.
parameters: Option<Vec<ParameterInformation>>
The parameters of this signature.
Trait Implementations
impl Debug for SignatureInformation
[src]
impl Debug for SignatureInformation
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for SignatureInformation
[src]
impl Eq for SignatureInformation
impl PartialEq for SignatureInformation
[src]
impl PartialEq for SignatureInformation
fn eq(&self, other: &SignatureInformation) -> bool
[src]
fn eq(&self, other: &SignatureInformation) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &SignatureInformation) -> bool
[src]
fn ne(&self, other: &SignatureInformation) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for SignatureInformation
impl Send for SignatureInformation
impl Sync for SignatureInformation
impl Sync for SignatureInformation