Struct alacritty::config::color::ColorIndex
source · struct ColorIndex(u8);
Tuple Fields§
§0: u8
Trait Implementations§
source§impl Clone for ColorIndex
impl Clone for ColorIndex
source§fn clone(&self) -> ColorIndex
fn clone(&self) -> ColorIndex
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ColorIndex
impl Debug for ColorIndex
source§impl Default for ColorIndex
impl Default for ColorIndex
source§fn default() -> ColorIndex
fn default() -> ColorIndex
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ColorIndex
impl<'de> Deserialize<'de> for ColorIndex
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<ColorIndex> for ColorIndex
impl PartialEq<ColorIndex> for ColorIndex
source§fn eq(&self, other: &ColorIndex) -> bool
fn eq(&self, other: &ColorIndex) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ColorIndex
impl Eq for ColorIndex
impl StructuralEq for ColorIndex
impl StructuralPartialEq for ColorIndex
Auto Trait Implementations§
impl RefUnwindSafe for ColorIndex
impl Send for ColorIndex
impl Sync for ColorIndex
impl Unpin for ColorIndex
impl UnwindSafe for ColorIndex
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> ResetDiscriminant<T> for Twhere
T: Copy,
impl<T> ResetDiscriminant<T> for Twhere T: Copy,
source§fn discriminant(&self) -> T
fn discriminant(&self) -> T
Value based on which equality for the reset will be determined.