[][src]Struct ncursesw::extend::ColorPair

pub struct ColorPair { /* fields omitted */ }

A extended color pair.

Methods

impl ColorPair[src]

pub fn new(pair: i32, colors: Colors) -> Result<Self, NCurseswError>[src]

pub fn new_sp(
    screen: SCREEN,
    pair: i32,
    colors: Colors
) -> Result<Self, NCurseswError>
[src]

pub fn screen(&self) -> Option<SCREEN>[src]

pub fn default_sp(screen: SCREEN) -> Self[src]

Trait Implementations

impl AttributesColorPairType<Attributes, ColorPair, i32> for AttributesColorPair[src]

impl Clone for ColorPair[src]

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

impl ColorPairType<i32> for ColorPair[src]

impl Copy for ColorPair[src]

impl Debug for ColorPair[src]

impl Default for ColorPair[src]

impl Eq for ColorPair[src]

impl Hash for ColorPair[src]

impl Into<i32> for ColorPair[src]

impl PartialEq<ColorPair> for ColorPair[src]

impl StructuralEq for ColorPair[src]

impl StructuralPartialEq for ColorPair[src]

Auto Trait Implementations

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.