Struct lsp_types::ParameterInformation [−][src]
pub struct ParameterInformation {
pub label: ParameterLabel,
pub documentation: Option<Documentation>,
}
Expand description
Represents a parameter of a callable-signature. A parameter can have a label and a doc-comment.
Fields
label: ParameterLabel
The label of this parameter information.
Either a string or an inclusive start and exclusive end offsets within its containing signature label. (see SignatureInformation.label). Note: A label of type string must be a substring of its containing signature label.
documentation: Option<Documentation>
The human-readable doc-comment of this parameter. Will be shown in the UI but can be omitted.
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ParameterInformation
impl Send for ParameterInformation
impl Sync for ParameterInformation
impl Unpin for ParameterInformation
impl UnwindSafe for ParameterInformation
Blanket Implementations
Mutably borrows from an owned value. Read more