Struct tui::buffer::Cell
[−]
[src]
pub struct Cell { pub symbol: String, pub style: Style, }
A buffer cell
Fields
symbol: String
style: Style
Methods
impl Cell
[src]
pub fn set_symbol(&mut self, symbol: &str) -> &mut Cell
[src]
pub fn set_char(&mut self, ch: char) -> &mut Cell
[src]
pub fn set_fg(&mut self, color: Color) -> &mut Cell
[src]
pub fn set_bg(&mut self, color: Color) -> &mut Cell
[src]
pub fn set_modifier(&mut self, modifier: Modifier) -> &mut Cell
[src]
pub fn set_style(&mut self, style: Style) -> &mut Cell
[src]
pub fn reset(&mut self)
[src]
Trait Implementations
impl Debug for Cell
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
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 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 !=
.