pub struct SplitWindowOptions {
pub target: SplitWindowTarget,
pub direction: SplitDirection,
pub before: bool,
pub environment: Option<Vec<String>>,
pub command: Option<Vec<String>>,
}Expand description
Full options for a split-window request.
Fields§
§target: SplitWindowTargetThe exact split target.
direction: SplitDirectionAxis on which to split (Vertical = side-by-side, Horizontal = stacked).
before: booltrue to insert the new pane before the target on the chosen axis
(tmux -b); false to insert after (default).
environment: Option<Vec<String>>Optional per-spawn environment overrides in NAME=VALUE form.
command: Option<Vec<String>>Optional command argv for the new pane.
Trait Implementations§
Source§impl Clone for SplitWindowOptions
impl Clone for SplitWindowOptions
Source§fn clone(&self) -> SplitWindowOptions
fn clone(&self) -> SplitWindowOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SplitWindowOptions
impl Debug for SplitWindowOptions
Source§impl PartialEq for SplitWindowOptions
impl PartialEq for SplitWindowOptions
Source§fn eq(&self, other: &SplitWindowOptions) -> bool
fn eq(&self, other: &SplitWindowOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SplitWindowOptions
impl StructuralPartialEq for SplitWindowOptions
Auto Trait Implementations§
impl Freeze for SplitWindowOptions
impl RefUnwindSafe for SplitWindowOptions
impl Send for SplitWindowOptions
impl Sync for SplitWindowOptions
impl Unpin for SplitWindowOptions
impl UnsafeUnpin for SplitWindowOptions
impl UnwindSafe for SplitWindowOptions
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