pub struct Dots<'a> { /* private fields */ }Expand description
The canvas as braille dots, 2x4 per cell; see Canvas::dots. A cell’s
dots share one colour: the last one drawn there.
Implementations§
Trait Implementations§
Source§impl Shapes for Dots<'_>
impl Shapes for Dots<'_>
Source§fn put(&mut self, x: i64, y: i64, colour: Rgb)
fn put(&mut self, x: i64, y: i64, colour: Rgb)
Sets one point; outside the surface it does nothing.
fn line(&mut self, x0: i64, y0: i64, x1: i64, y1: i64, colour: Rgb)
fn rect(&mut self, x: i64, y: i64, w: i64, h: i64, colour: Rgb)
fn fill_rect(&mut self, x: i64, y: i64, w: i64, h: i64, colour: Rgb)
fn circle(&mut self, cx: i64, cy: i64, r: i64, colour: Rgb)
fn fill_circle(&mut self, cx: i64, cy: i64, r: i64, colour: Rgb)
Auto Trait Implementations§
impl<'a> !UnwindSafe for Dots<'a>
impl<'a> Forget for Dots<'a>
impl<'a> Freeze for Dots<'a>
impl<'a> Move for Dots<'a>
impl<'a> RefUnwindSafe for Dots<'a>
impl<'a> Send for Dots<'a>
impl<'a> Sync for Dots<'a>
impl<'a> Unpin for Dots<'a>
impl<'a> UnsafeUnpin for Dots<'a>
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