Trait ncursesw::ColorsType
source · [−]pub trait ColorsType<C, T> where
C: ColorType<T>,
T: ColorAttributeTypes, {
fn screen(&self) -> Option<SCREEN>;
fn foreground(&self) -> C;
fn background(&self) -> C;
}
Expand description
Background and foreground colors.
Required methods
Returns the screen pointer of the foreground and background colors.
fn foreground(&self) -> C
fn foreground(&self) -> C
Return the foreground color.
fn background(&self) -> C
fn background(&self) -> C
Return the background color.