Struct termfest::Cell
[−]
[src]
pub struct Cell { /* fields omitted */ }
Cell
is a cell of the terminal.
It has a display character and an attribute (fg and bg color, effects).
Methods
impl Cell
[src]
fn new(ch: char) -> Self
[src]
fn fg(self, fg: Color) -> Self
[src]
fn bg(self, bg: Color) -> Self
[src]
fn effect(self, effect: Effect) -> Self
[src]
fn attribute(self, attr: Attribute) -> Self
[src]
Trait Implementations
impl Debug for Cell
[src]
impl Clone for Cell
[src]
fn clone(&self) -> Cell
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for Cell
[src]
impl PartialEq for Cell
[src]
fn eq(&self, __arg_0: &Cell) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Cell) -> bool
[src]
This method tests for !=
.