Struct languageserver_types::Command[][src]

pub struct Command {
    pub title: String,
    pub command: String,
    pub arguments: Option<Vec<Value>>,
}

Represents a reference to a command. Provides a title which will be used to represent a command in the UI. Commands are identitifed using a string identifier and the protocol currently doesn't specify a set of well known commands. So executing a command requires some tool extension code.

Fields

Title of the command, like save.

The identifier of the actual command handler.

Arguments that the command handler should be invoked with.

Methods

impl Command
[src]

Trait Implementations

impl Debug for Command
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Command
[src]

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

This method tests for !=.

impl Clone for Command
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Command
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for Command

impl Sync for Command