[][src]Struct alacritty_terminal::term::color::List

pub struct List(_);

List of indexed colors.

The first 16 entries are the standard ansi named colors. Items 16..232 are the color cube. Items 233..256 are the grayscale ramp. Item 256 is the configured foreground color, item 257 is the configured background color, item 258 is the cursor color. Following that are 8 positions for dim colors. Item 267 is the bright foreground color, 268 the dim foreground.

Implementations

impl List[src]

pub fn fill_named(&mut self, colors: &Colors)[src]

pub fn fill_cube(&mut self, colors: &Colors)[src]

pub fn fill_gray_ramp(&mut self, colors: &Colors)[src]

Trait Implementations

impl Clone for List[src]

impl Copy for List[src]

impl Debug for List[src]

impl<'a> From<&'a Colors> for List[src]

impl Index<NamedColor> for List[src]

type Output = Rgb

The returned type after indexing.

impl Index<u8> for List[src]

type Output = Rgb

The returned type after indexing.

impl Index<usize> for List[src]

type Output = Rgb

The returned type after indexing.

impl IndexMut<NamedColor> for List[src]

impl IndexMut<u8> for List[src]

impl IndexMut<usize> for List[src]

Auto Trait Implementations

impl RefUnwindSafe for List

impl Send for List

impl Sync for List

impl Unpin for List

impl UnwindSafe for List

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.