Trait ColorsType

Source
pub trait ColorsType<C, T>{
    // Required methods
    fn screen(&self) -> Option<SCREEN>;
    fn foreground(&self) -> C;
    fn background(&self) -> C;
}
Expand description

Background and foreground colors.

Required Methods§

Source

fn screen(&self) -> Option<SCREEN>

Returns the screen pointer of the foreground and background colors.

Source

fn foreground(&self) -> C

Return the foreground color.

Source

fn background(&self) -> C

Return the background color.

Implementors§

Source§

impl ColorsType<Color, i32> for ncursesw::extend::Colors

Source§

impl ColorsType<Color, i16> for ncursesw::normal::Colors