pub struct LiveMultiTerminal { /* private fields */ }Expand description
Multi-pane terminal widget driven by real backends.
See terminal_crate_plan.md §4.
Implementations§
Source§impl LiveMultiTerminal
impl LiveMultiTerminal
pub fn new(id_salt: impl Hash) -> Self
pub fn overflow_policy(self, policy: OverflowPolicy) -> Self
Sourcepub fn add_local_pane(
&mut self,
_id: impl Into<String>,
_config: LocalShellConfig,
)
pub fn add_local_pane( &mut self, _id: impl Into<String>, _config: LocalShellConfig, )
Add a pane backed by a local shell. Requires the local feature.
Sourcepub fn add_ssh_pane(&mut self, _id: impl Into<String>, _config: SshConfig)
pub fn add_ssh_pane(&mut self, _id: impl Into<String>, _config: SshConfig)
Add a pane backed by an SSH session. Requires the ssh feature.
Sourcepub fn controls(&mut self) -> LiveMultiTerminalControls<'_>
pub fn controls(&mut self) -> LiveMultiTerminalControls<'_>
Restricted view of the underlying MultiTerminal. Exposes the
safe operations (broadcast, solo, collapse, focus, scrollback
queries); structural mutators are deliberately not reachable so
the wrapper invariant (“every pane has a backend”) holds.
pub fn show(&mut self, _ui: &mut Ui) -> Response
Auto Trait Implementations§
impl Freeze for LiveMultiTerminal
impl RefUnwindSafe for LiveMultiTerminal
impl Send for LiveMultiTerminal
impl Sync for LiveMultiTerminal
impl Unpin for LiveMultiTerminal
impl UnsafeUnpin for LiveMultiTerminal
impl UnwindSafe for LiveMultiTerminal
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