[][src]Struct ncursesw::extend::Colors

pub struct Colors { /* fields omitted */ }

Foreground and background colors.

Trait Implementations

impl Clone for Colors[src]

impl ColorPairColors<Colors, Color, i32> for ColorPair[src]

impl ColorsType<Color, i32> for Colors[src]

fn new(foreground: Color, background: Color) -> Self[src]

Create a new instance of foreground and background colors.

fn foreground(&self) -> Color[src]

Foreground color.

fn background(&self) -> Color[src]

Background color.

impl Copy for Colors[src]

impl Debug for Colors[src]

impl Default for Colors[src]

impl Eq for Colors[src]

impl Hash for Colors[src]

impl PartialEq<Colors> for Colors[src]

impl StructuralEq for Colors[src]

impl StructuralPartialEq for Colors[src]

Auto Trait Implementations

impl RefUnwindSafe for Colors

impl Send for Colors

impl Sync for Colors

impl Unpin for Colors

impl UnwindSafe for Colors

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.