pub struct TerminalBackground { /* private fields */ }Expand description
An RGB background color reported by a terminal.
Channels retain the sixteen-bit precision available from an OSC 11 reply.
Implementations§
Trait Implementations§
Source§impl Clone for TerminalBackground
impl Clone for TerminalBackground
Source§fn clone(&self) -> TerminalBackground
fn clone(&self) -> TerminalBackground
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TerminalBackground
impl Debug for TerminalBackground
Source§impl Hash for TerminalBackground
impl Hash for TerminalBackground
Source§impl PartialEq for TerminalBackground
impl PartialEq for TerminalBackground
Source§fn eq(&self, other: &TerminalBackground) -> bool
fn eq(&self, other: &TerminalBackground) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TerminalBackground
impl Eq for TerminalBackground
impl StructuralPartialEq for TerminalBackground
Auto Trait Implementations§
impl Freeze for TerminalBackground
impl RefUnwindSafe for TerminalBackground
impl Send for TerminalBackground
impl Sync for TerminalBackground
impl Unpin for TerminalBackground
impl UnsafeUnpin for TerminalBackground
impl UnwindSafe for TerminalBackground
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