Struct hi_doc::Formatting
source · pub struct Formatting {
pub color: Option<u32>,
pub bg_color: Option<u32>,
pub bold: bool,
pub underline: bool,
pub decoration: bool,
}Fields§
§color: Option<u32>§bg_color: Option<u32>§bold: bool§underline: bool§decoration: boolImplementations§
source§impl Formatting
impl Formatting
Trait Implementations§
source§impl Clone for Formatting
impl Clone for Formatting
source§fn clone(&self) -> Formatting
fn clone(&self) -> Formatting
Returns a copy 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 Formatting
impl Debug for Formatting
source§impl Default for Formatting
impl Default for Formatting
source§fn default() -> Formatting
fn default() -> Formatting
Returns the “default value” for a type. Read more
source§impl PartialEq for Formatting
impl PartialEq for Formatting
source§fn eq(&self, other: &Formatting) -> bool
fn eq(&self, other: &Formatting) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for Formatting
Auto Trait Implementations§
impl RefUnwindSafe for Formatting
impl Send for Formatting
impl Sync for Formatting
impl Unpin for Formatting
impl UnwindSafe for Formatting
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