[][src]Enum alacritty_terminal::term::color::CellRgb

pub enum CellRgb {
    CellForeground,
    CellBackground,
    Rgb(Rgb),
}

RGB color optionally referencing the cell's foreground or background.

Variants

CellForeground
CellBackground
Rgb(Rgb)

Implementations

impl CellRgb[src]

pub fn color(self, foreground: Rgb, background: Rgb) -> Rgb[src]

Trait Implementations

impl Clone for CellRgb[src]

impl Copy for CellRgb[src]

impl Debug for CellRgb[src]

impl Default for CellRgb[src]

impl<'de> Deserialize<'de> for CellRgb[src]

impl Eq for CellRgb[src]

impl PartialEq<CellRgb> for CellRgb[src]

impl StructuralEq for CellRgb[src]

impl StructuralPartialEq for CellRgb[src]

Auto Trait Implementations

impl RefUnwindSafe for CellRgb

impl Send for CellRgb

impl Sync for CellRgb

impl Unpin for CellRgb

impl UnwindSafe for CellRgb

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.