pub enum Paint {
Blank {
cols: u16,
},
Ink {
glyph: char,
cols: u16,
},
}Expand description
How one cell of a frame appears.
cols is the display width the cell occupies either way, so a hidden wide
glyph reserves the same two columns it will take once revealed and the row
never shifts sideways as the reveal crosses it.
Variants§
Implementations§
Trait Implementations§
impl Copy for Paint
impl Eq for Paint
impl StructuralPartialEq for Paint
Auto Trait Implementations§
impl Freeze for Paint
impl RefUnwindSafe for Paint
impl Send for Paint
impl Sync for Paint
impl Unpin for Paint
impl UnsafeUnpin for Paint
impl UnwindSafe for Paint
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