#[non_exhaustive]pub enum Input<'a> {
Text(&'a str),
Key(&'a str),
}Expand description
Input that can be broadcast to many panes.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Text(&'a str)
Literal text bytes. No newline is appended.
Key(&'a str)
One tmux-compatible key token such as Enter or Backspace.
Implementations§
Trait Implementations§
impl<'a> Copy for Input<'a>
impl<'a> Eq for Input<'a>
impl<'a> StructuralPartialEq for Input<'a>
Auto Trait Implementations§
impl<'a> Freeze for Input<'a>
impl<'a> RefUnwindSafe for Input<'a>
impl<'a> Send for Input<'a>
impl<'a> Sync for Input<'a>
impl<'a> Unpin for Input<'a>
impl<'a> UnsafeUnpin for Input<'a>
impl<'a> UnwindSafe for Input<'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