pub struct PtyFrame {
pub raw: Vec<u8>,
}Available on crate feature
pty-test only.Expand description
Raw bytes emitted for a single rendered frame by PtyBackend.
Unlike FrameRecord (a glyph/snapshot view of the in-memory
Buffer), PtyFrame holds the actual escape-code byte stream the
production flush pipeline produced for the frame: SGR runs, OSC 8
hyperlinks, Sixel (\x1bPq), and Kitty graphics (\x1b_Ga=).
Since 0.21.0.
Fields§
§raw: Vec<u8>Raw bytes emitted for this frame (SGR runs, OSC 8, Sixel, Kitty).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PtyFrame
impl RefUnwindSafe for PtyFrame
impl Send for PtyFrame
impl Sync for PtyFrame
impl Unpin for PtyFrame
impl UnsafeUnpin for PtyFrame
impl UnwindSafe for PtyFrame
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