Struct itree::color::Bg [−][src]
pub struct Bg<C>(pub C)
where
C: Color;
A background color.
Trait Implementations
impl<C> Display for Bg<C> where
C: Color,
[src]
impl<C> Display for Bg<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 Bg<C> where
C: Color + Clone,
[src]
impl<C> Clone for Bg<C> where
C: Color + Clone,
fn clone(&self) -> Bg<C>
[src]
fn clone(&self) -> Bg<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 Bg<C> where
C: Color + Debug,
[src]
impl<C> Debug for Bg<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 Bg<C> where
C: Color + Copy,
[src]
impl<C> Copy for Bg<C> where
C: Color + Copy,