pub struct List(/* private fields */);
Expand description
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§
Trait Implementations§
Source§impl Index<NamedColor> for List
impl Index<NamedColor> for List
Source§impl IndexMut<NamedColor> for List
impl IndexMut<NamedColor> for List
impl Copy for List
Auto Trait Implementations§
impl Freeze for List
impl RefUnwindSafe for List
impl Send for List
impl Sync for List
impl Unpin for List
impl UnwindSafe for List
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)