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]

[src]

Formats the value using the given formatter.

impl PartialEq for CompletionContext
[src]

[src]

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

[src]

This method tests for !=.