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 for SetBackgroundColor
impl PartialEq 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 ==
.impl Copy for SetBackgroundColor
impl Eq for SetBackgroundColor
impl StructuralPartialEq for SetBackgroundColor
Auto Trait Implementations§
impl Freeze for SetBackgroundColor
impl RefUnwindSafe for SetBackgroundColor
impl Send for SetBackgroundColor
impl Sync for SetBackgroundColor
impl Unpin for SetBackgroundColor
impl UnwindSafe for SetBackgroundColor
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