[−][src]Struct alacritty_terminal::term::color::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.
fn index(&self, idx: NamedColor) -> &Self::Output
[src]
impl Index<u8> for List
[src]
impl Index<usize> for List
[src]
type Output = Rgb
The returned type after indexing.
fn index(&self, idx: usize) -> &Self::Output
[src]
impl IndexMut<NamedColor> for List
[src]
fn index_mut(&mut self, idx: NamedColor) -> &mut Self::Output
[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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,