pub struct Formatting {
pub colour: Color,
pub style: Style,
}Fields§
§colour: Color§style: StyleTrait Implementations§
Source§impl Clone for Formatting
impl Clone for Formatting
Source§fn clone(&self) -> Formatting
fn clone(&self) -> Formatting
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 Formatting
impl Debug for Formatting
Source§impl Display for Formatting
impl Display for Formatting
Source§impl From<Color> for Formatting
impl From<Color> for Formatting
Source§impl From<Formatting> for ColorSpec
impl From<Formatting> for ColorSpec
Source§fn from(formatting: Formatting) -> Self
fn from(formatting: Formatting) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Formatting
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