pub struct PtyInfo {
pub term_type: Vec<u8>,
pub width_cols: u32,
pub height_rows: u32,
pub width_pixels: u32,
pub height_pixels: u32,
pub terminal_modes: Vec<u8>,
}Expand description
PTY terminal information
Fields§
§term_type: Vec<u8>Terminal type (e.g., “xterm-256color”)
width_cols: u32Terminal width in columns
height_rows: u32Terminal height in rows
width_pixels: u32Terminal width in pixels
height_pixels: u32Terminal height in pixels
terminal_modes: Vec<u8>Terminal modes (encoded as per RFC 4254)
Trait Implementations§
impl Eq for PtyInfo
impl StructuralPartialEq for PtyInfo
Auto Trait Implementations§
impl Freeze for PtyInfo
impl RefUnwindSafe for PtyInfo
impl Send for PtyInfo
impl Sync for PtyInfo
impl Unpin for PtyInfo
impl UnwindSafe for PtyInfo
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)