pub struct Pane {
pub id: PaneId,
pub pty: Box<dyn PtyBackend>,
pub screen: Arc<RwLock<Screen>>,
pub process: ProcessInfo,
pub size: (u16, u16),
pub title: String,
pub shell_command: String,
pub options: PaneOptions,
pub update_tx: Sender<()>,
pub raw_tx: Sender<Vec<u8>>,
pub exit_tx: Sender<i32>,
}Fields§
§id: PaneId§pty: Box<dyn PtyBackend>§screen: Arc<RwLock<Screen>>§process: ProcessInfo§size: (u16, u16)§title: String§shell_command: String§options: PaneOptions§update_tx: Sender<()>Notifies waiters when screen content is updated.
raw_tx: Sender<Vec<u8>>Forwards raw PTY output bytes for subscribers.
exit_tx: Sender<i32>Sends exit code when the process dies.
Implementations§
Auto Trait Implementations§
impl Freeze for Pane
impl !RefUnwindSafe for Pane
impl Send for Pane
impl !Sync for Pane
impl Unpin for Pane
impl UnsafeUnpin for Pane
impl !UnwindSafe for Pane
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