Enum tmux_interface::target::target_pane::TargetPane[][src]

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

Enum for possible target-pane variants

Variants

Token

token (+, -, {…}) instead of name

Tuple Fields of Token

0: TargetPaneToken
Index

index instead of name

Tuple Fields of Index

0: usize
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 (no . will be added)

Tuple Fields of Raw

0: &'a str

Trait Implementations

Returns the “default value” for a type. 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.