pub struct ViewCell {
pub character: Option<char>,
pub bold: Option<bool>,
pub underline: Option<bool>,
pub foreground: Option<Rgb24>,
pub background: Option<Rgb24>,
}
Fields
character: Option<char>
bold: Option<bool>
underline: Option<bool>
foreground: Option<Rgb24>
background: Option<Rgb24>
Implementations
sourceimpl ViewCell
impl ViewCell
pub fn new() -> ViewCell
pub fn with_character(self, character: char) -> ViewCell
pub fn with_bold(self, bold: bool) -> ViewCell
pub fn with_underline(self, underline: bool) -> ViewCell
pub fn with_foreground(self, foreground: Rgb24) -> ViewCell
pub fn with_background(self, background: Rgb24) -> ViewCell
pub fn set_character(&mut self, character: char)
pub fn clear_character(&mut self)
pub fn set_bold(&mut self, bold: bool)
pub fn clear_bold(&mut self)
pub fn set_underline(&mut self, underline: bool)
pub fn clear_underline(&mut self)
pub fn set_foreground(&mut self, foreground: Rgb24)
pub fn clear_foreground(&mut self)
pub fn set_background(&mut self, background: Rgb24)
pub fn clear_background(&mut self)
Trait Implementations
impl Copy for ViewCell
impl Eq for ViewCell
impl StructuralEq for ViewCell
impl StructuralPartialEq for ViewCell
Auto Trait Implementations
impl RefUnwindSafe for ViewCell
impl Send for ViewCell
impl Sync for ViewCell
impl Unpin for ViewCell
impl UnwindSafe for ViewCell
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more