Struct itree::color::Fg [−][src]
pub struct Fg<C>(pub C)
where
C: Color;
A foreground color.
Trait Implementations
impl<C> Display for Fg<C> where
C: Color,
[src]
impl<C> Display for Fg<C> where
C: Color,
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl<C> Clone for Fg<C> where
C: Color + Clone,
[src]
impl<C> Clone for Fg<C> where
C: Color + Clone,
fn clone(&self) -> Fg<C>
[src]
fn clone(&self) -> Fg<C>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<C> Debug for Fg<C> where
C: Color + Debug,
[src]
impl<C> Debug for Fg<C> where
C: Color + Debug,
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl<C> Copy for Fg<C> where
C: Color + Copy,
[src]
impl<C> Copy for Fg<C> where
C: Color + Copy,