pub struct StyleCell {
pub fg: Colour,
pub bg: Colour,
pub us: Colour,
pub attr: u16,
}Expand description
Shared cell colours and attributes used by Style.
Fields§
§fg: ColourForeground colour.
bg: ColourBackground colour.
us: ColourUnderline colour.
attr: u16Attribute bitset, including GridAttr::NOATTR.
Trait Implementations§
impl Copy for StyleCell
impl Eq for StyleCell
impl StructuralPartialEq for StyleCell
Auto Trait Implementations§
impl Freeze for StyleCell
impl RefUnwindSafe for StyleCell
impl Send for StyleCell
impl Sync for StyleCell
impl Unpin for StyleCell
impl UnsafeUnpin for StyleCell
impl UnwindSafe for StyleCell
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