pub struct TmuxCommandBuilder { /* private fields */ }Implementations§
Source§impl TmuxCommandBuilder
impl TmuxCommandBuilder
pub fn new( tmux_path: impl AsRef<OsStr>, tmux_args: impl IntoIterator<Item = impl AsRef<OsStr>>, ) -> Self
pub fn into_command(self) -> Command
pub fn query_panes(self, format: impl AsRef<OsStr>, scope: QueryScope) -> Self
pub fn query_clients(self) -> Self
pub fn select_session(self, name: Option<&str>, mode: SessionSelectMode) -> Self
pub fn new_sessions<'a>( self, sessions: impl IntoIterator<Item = &'a Session>, ) -> Self
pub fn new_session(self, session: &Session) -> Self
pub fn new_windows<'a>( self, windows: impl IntoIterator<Item = &'a Window>, parent_cwd: &Cwd<'_>, ) -> Self
pub fn new_window( self, window: &Window, parent_cwd: &Cwd<'_>, before_target: Option<&str>, ) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TmuxCommandBuilder
impl !RefUnwindSafe for TmuxCommandBuilder
impl Send for TmuxCommandBuilder
impl Sync for TmuxCommandBuilder
impl Unpin for TmuxCommandBuilder
impl !UnwindSafe for TmuxCommandBuilder
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