Struct ncursesw::extend::ColorPair [−][src]
pub struct ColorPair { /* fields omitted */ }
Expand description
A color pair comprising of a foreground and background color.
Implementations
Safety
Set the screen of the ColorPair
.
Use with caution!!! This function only need’s to be used if using the screen type
functions and is provided to allow the alignment of the screen pointer with the
screen that the ColorPair
are for as this crate will apply a screen of None
by default when retriving Attributes
from functions such as attr_get()
and
wattr_get()
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ColorPair
impl UnwindSafe for ColorPair
Blanket Implementations
Mutably borrows from an owned value. Read more