pub struct QuadrantCanvas { /* private fields */ }Expand description
A canvas with 2x2 sub-cells per cell.
Doubles resolution on both axes over HalfBlockCanvas. The tradeoff: four sub-cells still
share only two colors, so a quadrant cell containing three different colors loses one of them,
where a half-block cell containing two keeps both exactly.
Implementations§
Source§impl QuadrantCanvas
impl QuadrantCanvas
Trait Implementations§
Source§impl Clone for QuadrantCanvas
impl Clone for QuadrantCanvas
Source§fn clone(&self) -> QuadrantCanvas
fn clone(&self) -> QuadrantCanvas
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for QuadrantCanvas
impl RefUnwindSafe for QuadrantCanvas
impl Send for QuadrantCanvas
impl Sync for QuadrantCanvas
impl Unpin for QuadrantCanvas
impl UnsafeUnpin for QuadrantCanvas
impl UnwindSafe for QuadrantCanvas
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