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
label: String
The label of this signature. Will be shown in the UI.
documentation: Option<Union<String, MarkupContent>>
The human-readable doc-comment of this signature. Will be shown in the UI but can be omitted.
Methods
impl ParameterInformation
[src]
impl ParameterInformation
The ParameterInformation namespace provides helper functions to work with ParameterInformation literals.
pub fn create(label: String, documentation: Option<String>) -> Self
[src]
pub fn create(label: String, documentation: Option<String>) -> Self
Creates a new parameter information literal.
@param label A label string. @param documentation A doc string.
Trait Implementations
impl Debug for ParameterInformation
[src]
impl Debug for ParameterInformation
Auto Trait Implementations
impl Send for ParameterInformation
impl Send for ParameterInformation
impl Sync for ParameterInformation
impl Sync for ParameterInformation