pub struct PaneState {
pub storage: PaneStorage,
pub source: PaneSource,
}Expand description
Per-pane state: storage buffer + source.
Fields§
§storage: PaneStorage§source: PaneSourceImplementations§
Source§impl PaneState
impl PaneState
Sourcepub fn server(pane_id: u32, cols: u16, rows: u16) -> Self
pub fn server(pane_id: u32, cols: u16, rows: u16) -> Self
Create a server pane backed by an ANSI VT emulator (legacy / WASM path).
Sourcepub fn server_buf(pane_id: u32, cols: u16, rows: u16) -> Self
pub fn server_buf(pane_id: u32, cols: u16, rows: u16) -> Self
Create a server pane backed by a ratatui Buffer (native Capnp path).
Auto Trait Implementations§
impl Freeze for PaneState
impl RefUnwindSafe for PaneState
impl Send for PaneState
impl Sync for PaneState
impl Unpin for PaneState
impl UnsafeUnpin for PaneState
impl UnwindSafe for PaneState
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more