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),
}

Enum for possible target-session variants

Variants

Id(usize)

id ($id) instead of name

ExactName(&'a str)

exact name (=name)

StartName(&'a str)

start of a name

FnMatch(&'a str)

fn_match

Raw(&'a str)

manual define full name

Implementations

impl<'a> TargetSession<'a>[src]

pub fn new(target_name: &'a str) -> Self[src]

simple initializing as start of a name

pub fn exact_name(name: &'a str) -> Self[src]

pub fn start_name(name: &'a str) -> Self[src]

pub fn fn_match(name: &'a str) -> Self[src]

pub fn raw(name: &'a str) -> Self[src]

Trait Implementations

impl<'a> Debug for TargetSession<'a>[src]

impl<'a> Display for TargetSession<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for TargetSession<'a>

impl<'a> Send for TargetSession<'a>

impl<'a> Sync for TargetSession<'a>

impl<'a> Unpin for TargetSession<'a>

impl<'a> UnwindSafe for TargetSession<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.