Enum tmux_interface::target::target_window::TargetWindow
source · pub enum TargetWindow<'a> {
Token(TargetWindowToken),
Index(usize),
Id(usize),
ExactName(&'a str),
StartName(&'a str),
FnMatch(&'a str),
Raw(&'a str),
}
Expand description
Enum for possible TargetWindow
variants
Variants§
Token(TargetWindowToken)
token (^, $, !, +, -) instead of name
Index(usize)
index instead of name
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 (no :
will be added)
Trait Implementations§
source§impl<'a> Debug for TargetWindow<'a>
impl<'a> Debug for TargetWindow<'a>
source§impl<'a> Default for TargetWindow<'a>
impl<'a> Default for TargetWindow<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for TargetWindow<'a>
impl<'a> Send for TargetWindow<'a>
impl<'a> Sync for TargetWindow<'a>
impl<'a> Unpin for TargetWindow<'a>
impl<'a> UnwindSafe for TargetWindow<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more