[][src]Struct lsp_types::ParameterInformation

pub struct ParameterInformation {
    pub label: ParameterLabel,
    pub documentation: Option<Documentation>,
}

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

impl Eq for ParameterInformation
[src]

impl PartialEq<ParameterInformation> for ParameterInformation
[src]

impl Debug for ParameterInformation
[src]

impl Serialize for ParameterInformation
[src]

impl<'de> Deserialize<'de> for ParameterInformation
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]