Enum linefeed::inputrc::Directive [] [src]

pub enum Directive {
    Bind(StringCommand),
    Conditional {
        name: Option<String>,
        value: String,
        then_group: Vec<Directive>,
        else_group: Vec<Directive>,
    },
    SetVariable(StringString),
}

Parsed configuration directive

Variants

Bind construct; "input-sequence": command-or-macro

Conditional construct; ($if name=value or $if value) directives (optional $else directives) $endif

Fields of Conditional

Value name; if None, value refers to application name

Value to compare

Group of directives evaluated when condition is true

Group of directives evaluated when condition is false

Set variable; set name value

Trait Implementations

impl Clone for Directive
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Directive
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Directive

impl Sync for Directive