Struct tmux_interface::target::target_window::TargetWindowExt[][src]

pub struct TargetWindowExt<'a> {
    pub session: Option<&'a TargetSession<'a>>,
    pub window: Option<TargetWindow<'a>>,
}
Expand description

Extended TargetWindow struct, includes TargetSession

Fields

session: Option<&'a TargetSession<'a>>

TargetSession (tmux analog: target-session)

window: Option<TargetWindow<'a>>

TargetWindow (tmux analog: target-window)

Implementations

simple initializing as start of a name

Create TargetWindowExt structure using one of TargetWindowToken

Examples

use crate::tmux_interface::{TargetWindowExt, TargetWindowToken};

let target_window = TargetWindowExt::token(None, TargetWindowToken::Start);

Trait Implementations

Formats the value using the given formatter. Read more

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.