Trait mg_settings::SpecialCommand [] [src]

pub trait SpecialCommand where
    Self: Sized
{ fn identifier_to_command(
        identifier: char,
        input: &str
    ) -> Result<Self, String>;
fn is_identifier(character: char) -> bool;
fn is_incremental(identifier: char) -> bool; }

Trait for converting an identifier like "/" to a special command.

Required Methods

Convert an identifier like "/" to a special command.

Check if a character is a special command identifier.

Check if the identifier is declared always. The always option means that the command is activated every time a character is typed (like incremental search).

Implementors