[][src]Struct alacritty::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 foreground color, item 259 is the cursor background color. Following that are 8 positions for dim colors. Item 268 is the bright foreground color, 269 the dim foreground.

Methods

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]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

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

impl Copy for List[src]

impl Index<NamedColor> 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 Index<u8> for List[src]

type Output = Rgb

The returned type after indexing.

impl IndexMut<NamedColor> for List[src]

impl IndexMut<usize> for List[src]

impl IndexMut<u8> for List[src]

impl Debug for List[src]

Auto Trait Implementations

impl Send for List

impl Sync for List

Blanket Implementations

impl<T> From for T[src]

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

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

type Owned = T

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.

impl<T> SetParameter for T[src]

fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
    T: Parameter<Self>, 
[src]

Sets value as a parameter of self.

impl<T> Erased for T[src]