Enum tmux_interface::target::target_session::TargetSession[][src]

pub enum TargetSession<'a> {
    Id(usize),
    ExactName(&'a str),
    StartName(&'a str),
    FnMatch(&'a str),
    Raw(&'a str),
}
Expand description

Enum for possible target-session variants

Variants

Id

id ($id) instead of name

Tuple Fields of Id

0: usize
ExactName

exact name (=name)

Tuple Fields of ExactName

0: &'a str
StartName

start of a name

Tuple Fields of StartName

0: &'a str
FnMatch

fn_match

Tuple Fields of FnMatch

0: &'a str
Raw

manual define full name

Tuple Fields of Raw

0: &'a str

Implementations

simple initializing as start of a name

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.