pub struct Cell {
pub ch: char,
pub style: Style,
}Expand description
One character cell. '\0' marks a transparent cell — it is skipped when a
surface is composited, letting lower layers show through.
Fields§
§ch: char§style: StyleImplementations§
Source§impl Cell
impl Cell
pub const fn blank() -> Self
pub const fn transparent() -> Self
pub fn is_transparent(&self) -> bool
Trait Implementations§
impl Copy for Cell
impl Eq for Cell
impl StructuralPartialEq for Cell
Auto Trait Implementations§
impl Freeze 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