pub struct SixelSurface { /* private fields */ }Expand description
The sixel surface presenter. Sixel images have no scaling, so we scale the surface to whole cells ourselves, nearest pixel. We leave the bottom row out, because a sixel touching it scrolls the screen.
Implementations§
Source§impl SixelSurface
impl SixelSurface
Sourcepub fn new(cell: CellPixels) -> Self
pub fn new(cell: CellPixels) -> Self
A presenter for a terminal whose cells are cell pixels.
Trait Implementations§
Auto Trait Implementations§
impl Forget for SixelSurface
impl Freeze for SixelSurface
impl Move for SixelSurface
impl RefUnwindSafe for SixelSurface
impl Send for SixelSurface
impl Sync for SixelSurface
impl Unpin for SixelSurface
impl UnsafeUnpin for SixelSurface
impl UnwindSafe for SixelSurface
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