pub struct Cell {
pub ch: char,
pub ink: Ink,
pub bg: Ink,
}Fields§
§ch: char§ink: InkForeground ink of ch.
bg: InkBackground ink; Ink::BLANK means “no background” (terminal default). Only
half-block pixels set it (CORE-R40, ADR-0010).
Implementations§
Trait Implementations§
impl Copy for Cell
impl Eq for Cell
impl StructuralPartialEq for Cell
Auto Trait Implementations§
impl Forget for Cell
impl Freeze for Cell
impl Move for Cell
impl RefUnwindSafe for Cell
impl Send for Cell
impl Sync for Cell
impl Unpin for Cell
impl UnsafeUnpin for Cell
impl UnwindSafe for Cell
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