Struct lsp::types::ParameterInformation[][src]

pub struct ParameterInformation {
    pub label: String,
    pub documentation: Option<Union<String, MarkupContent>>,
}

Represents a parameter of a callable-signature. A parameter can have a label and a doc-comment.

Fields

The label of this signature. Will be shown in the UI.

The human-readable doc-comment of this signature. Will be shown in the UI but can be omitted.

Methods

impl ParameterInformation
[src]

The ParameterInformation namespace provides helper functions to work with ParameterInformation literals.

Creates a new parameter information literal.

@param label A label string. @param documentation A doc string.

Trait Implementations

impl Debug for ParameterInformation
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations