[−][src]Enum alacritty_terminal::ansi::NamedColor
Standard colors.
The order here matters since the enum should be castable to a usize
for
indexing a color list.
Variants
Black.
Red.
Green.
Yellow.
Blue.
Magenta.
Cyan.
White.
Bright black.
Bright red.
Bright green.
Bright yellow.
Bright blue.
Bright magenta.
Bright cyan.
Bright white.
The foreground color.
The background color.
Color for the cursor itself.
Dim black.
Dim red.
Dim green.
Dim yellow.
Dim blue.
Dim magenta.
Dim cyan.
Dim white.
The bright foreground color.
Dim foreground.
Implementations
impl NamedColor
[src]
Trait Implementations
impl Clone for NamedColor
[src]
fn clone(&self) -> NamedColor
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for NamedColor
[src]
impl Debug for NamedColor
[src]
impl<'de> Deserialize<'de> for NamedColor
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for NamedColor
[src]
impl Index<NamedColor> for List
[src]
type Output = Rgb
The returned type after indexing.
fn index(&self, idx: NamedColor) -> &Self::Output
[src]
impl IndexMut<NamedColor> for List
[src]
fn index_mut(&mut self, idx: NamedColor) -> &mut Self::Output
[src]
impl Ord for NamedColor
[src]
fn cmp(&self, other: &NamedColor) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<NamedColor> for NamedColor
[src]
impl PartialOrd<NamedColor> for NamedColor
[src]
fn partial_cmp(&self, other: &NamedColor) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl Serialize for NamedColor
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for NamedColor
[src]
impl StructuralPartialEq for NamedColor
[src]
Auto Trait Implementations
impl RefUnwindSafe for NamedColor
impl Send for NamedColor
impl Sync for NamedColor
impl Unpin for NamedColor
impl UnwindSafe for NamedColor
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> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
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>,