Struct prototty_grid::CommonCell
source · pub struct CommonCell<F, B>where
F: From<Rgb24> + DefaultForeground,
B: From<Rgb24> + DefaultBackground,{
pub character: char,
pub bold: bool,
pub underline: bool,
pub foreground_colour: F,
pub background_colour: B,
/* private fields */
}
Fields
character: char
bold: bool
underline: bool
foreground_colour: F
background_colour: B
Trait Implementations
sourceimpl<F: Clone, B: Clone> Clone for CommonCell<F, B>where
F: From<Rgb24> + DefaultForeground,
B: From<Rgb24> + DefaultBackground,
impl<F: Clone, B: Clone> Clone for CommonCell<F, B>where
F: From<Rgb24> + DefaultForeground,
B: From<Rgb24> + DefaultBackground,
sourcefn clone(&self) -> CommonCell<F, B>
fn clone(&self) -> CommonCell<F, B>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<F: Debug, B: Debug> Debug for CommonCell<F, B>where
F: From<Rgb24> + DefaultForeground,
B: From<Rgb24> + DefaultBackground,
impl<F: Debug, B: Debug> Debug for CommonCell<F, B>where
F: From<Rgb24> + DefaultForeground,
B: From<Rgb24> + DefaultBackground,
sourceimpl<F, B> Default for CommonCell<F, B>where
F: From<Rgb24> + DefaultForeground,
B: From<Rgb24> + DefaultBackground,
impl<F, B> Default for CommonCell<F, B>where
F: From<Rgb24> + DefaultForeground,
B: From<Rgb24> + DefaultBackground,
Auto Trait Implementations
impl<F, B> RefUnwindSafe for CommonCell<F, B>where
B: RefUnwindSafe,
F: RefUnwindSafe,
impl<F, B> Send for CommonCell<F, B>where
B: Send,
F: Send,
impl<F, B> Sync for CommonCell<F, B>where
B: Sync,
F: Sync,
impl<F, B> Unpin for CommonCell<F, B>where
B: Unpin,
F: Unpin,
impl<F, B> UnwindSafe for CommonCell<F, B>where
B: UnwindSafe,
F: UnwindSafe,
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