Struct languageserver_types::CompletionContext[][src]

pub struct CompletionContext {
    pub trigger_kind: CompletionTriggerKind,
    pub trigger_character: Option<String>,
}

Fields

How the completion was triggered.

The trigger character (a single character) that has trigger code complete. Is undefined if triggerKind !== CompletionTriggerKind.TriggerCharacter

Trait Implementations

impl Debug for CompletionContext
[src]

Formats the value using the given formatter. Read more

impl PartialEq for CompletionContext
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations