Struct crossterm::style::SetBackgroundColor
source · pub struct SetBackgroundColor(pub Color);
Expand description
Tuple Fields§
§0: Color
Trait Implementations§
source§impl Clone for SetBackgroundColor
impl Clone for SetBackgroundColor
source§fn clone(&self) -> SetBackgroundColor
fn clone(&self) -> SetBackgroundColor
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 Command for SetBackgroundColor
impl Command for SetBackgroundColor
source§impl Debug for SetBackgroundColor
impl Debug for SetBackgroundColor
source§impl Display for SetBackgroundColor
impl Display for SetBackgroundColor
source§impl PartialEq<SetBackgroundColor> for SetBackgroundColor
impl PartialEq<SetBackgroundColor> for SetBackgroundColor
source§fn eq(&self, other: &SetBackgroundColor) -> bool
fn eq(&self, other: &SetBackgroundColor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.