pub struct ScreenCellAttrs {
pub bold: bool,
pub dim: bool,
pub italic: bool,
pub underline: bool,
pub fg: ScreenColor,
pub bg: ScreenColor,
}Fields§
§bold: bool§dim: bool§italic: bool§underline: bool§fg: ScreenColor§bg: ScreenColorTrait Implementations§
Source§impl Clone for ScreenCellAttrs
impl Clone for ScreenCellAttrs
Source§fn clone(&self) -> ScreenCellAttrs
fn clone(&self) -> ScreenCellAttrs
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScreenCellAttrs
impl Debug for ScreenCellAttrs
Source§impl Default for ScreenCellAttrs
impl Default for ScreenCellAttrs
Source§fn default() -> ScreenCellAttrs
fn default() -> ScreenCellAttrs
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ScreenCellAttrs
impl<'de> Deserialize<'de> for ScreenCellAttrs
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ScreenCellAttrs
impl PartialEq for ScreenCellAttrs
Source§impl Serialize for ScreenCellAttrs
impl Serialize for ScreenCellAttrs
impl StructuralPartialEq for ScreenCellAttrs
Auto Trait Implementations§
impl Freeze for ScreenCellAttrs
impl RefUnwindSafe for ScreenCellAttrs
impl Send for ScreenCellAttrs
impl Sync for ScreenCellAttrs
impl Unpin for ScreenCellAttrs
impl UnsafeUnpin for ScreenCellAttrs
impl UnwindSafe for ScreenCellAttrs
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