pub struct CanvasContext { /* private fields */ }Expand description
Drawing context for the Context::canvas widget.
Provides pixel-level drawing on a braille character grid. Each terminal
cell maps to a 2x4 dot matrix, so a canvas of width columns x height
rows gives width*2 x height*4 pixel resolution.
Implementations§
Auto Trait Implementations§
impl Freeze for CanvasContext
impl RefUnwindSafe for CanvasContext
impl Send for CanvasContext
impl Sync for CanvasContext
impl Unpin for CanvasContext
impl UnsafeUnpin for CanvasContext
impl UnwindSafe for CanvasContext
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