#[repr(u8)]pub enum DcsBackground {
Background = 0,
Current = 1,
BackgroundAlt = 2,
None = 255,
}
Expand description
Selects how the terminal draws the background color. You can use one of three values.
P2 (DcsBackground ) | Meaning |
---|---|
0 or 2 (default) | Pixel positions specified as 0 are set to the current background color. |
1 | Pixel positions specified as 0 remain at their current color. |
Variants§
Implementations§
Source§impl DcsBackground
impl DcsBackground
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Creates a new DcsBackground selector.
Trait Implementations§
Source§impl Clone for DcsBackground
impl Clone for DcsBackground
Source§fn clone(&self) -> DcsBackground
fn clone(&self) -> DcsBackground
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 Debug for DcsBackground
impl Debug for DcsBackground
Source§impl Default for DcsBackground
impl Default for DcsBackground
Source§fn default() -> DcsBackground
fn default() -> DcsBackground
Returns the “default value” for a type. Read more
Source§impl Display for DcsBackground
impl Display for DcsBackground
Source§impl From<&DcsBackground> for char
impl From<&DcsBackground> for char
Source§fn from(val: &DcsBackground) -> Self
fn from(val: &DcsBackground) -> Self
Converts to this type from the input type.
Source§impl From<&DcsBackground> for u8
impl From<&DcsBackground> for u8
Source§fn from(val: &DcsBackground) -> Self
fn from(val: &DcsBackground) -> Self
Converts to this type from the input type.
Source§impl From<DcsBackground> for char
impl From<DcsBackground> for char
Source§fn from(val: DcsBackground) -> Self
fn from(val: DcsBackground) -> Self
Converts to this type from the input type.
Source§impl From<DcsBackground> for u8
impl From<DcsBackground> for u8
Source§fn from(val: DcsBackground) -> Self
fn from(val: DcsBackground) -> Self
Converts to this type from the input type.
Source§impl From<u8> for DcsBackground
impl From<u8> for DcsBackground
Source§impl PartialEq for DcsBackground
impl PartialEq for DcsBackground
impl Copy for DcsBackground
impl StructuralPartialEq for DcsBackground
Auto Trait Implementations§
impl Freeze for DcsBackground
impl RefUnwindSafe for DcsBackground
impl Send for DcsBackground
impl Sync for DcsBackground
impl Unpin for DcsBackground
impl UnwindSafe for DcsBackground
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