Struct yacurses::CursesGlyph[][src]

#[repr(C, align(4))]pub struct CursesGlyph {
    pub ascii: u8,
    pub opt_color_pair: Option<ColorPair>,
    pub attributes: Attributes,
}

A single ascii value to draw to the screen, along with color and attributes.

Fields

ascii: u8

The text to show (0..128)

opt_color_pair: Option<ColorPair>

The color pairing to use, if any.

attributes: Attributes

The other attributes to use.

Trait Implementations

impl Clone for CursesGlyph[src]

impl Copy for CursesGlyph[src]

impl Debug for CursesGlyph[src]

impl From<char> for CursesGlyph[src]

impl From<u32> for CursesGlyph[src]

impl From<u8> for CursesGlyph[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.