pub struct PaletteKey(/* private fields */);Expand description
A palette entry’s name ("purple", "ansi.red", "diff.add.bg").
Implementations§
Source§impl PaletteKey
impl PaletteKey
Trait Implementations§
Source§impl Clone for PaletteKey
impl Clone for PaletteKey
Source§fn clone(&self) -> PaletteKey
fn clone(&self) -> PaletteKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PaletteKey
impl Debug for PaletteKey
impl Eq for PaletteKey
Source§impl From<&'static str> for PaletteKey
impl From<&'static str> for PaletteKey
Source§impl From<PaletteKey> for ColorRef
impl From<PaletteKey> for ColorRef
Source§fn from(k: PaletteKey) -> Self
fn from(k: PaletteKey) -> Self
Converts to this type from the input type.
Source§impl From<String> for PaletteKey
impl From<String> for PaletteKey
Source§impl Hash for PaletteKey
impl Hash for PaletteKey
Source§impl PartialEq for PaletteKey
impl PartialEq for PaletteKey
impl StructuralPartialEq for PaletteKey
Auto Trait Implementations§
impl Freeze for PaletteKey
impl RefUnwindSafe for PaletteKey
impl Send for PaletteKey
impl Sync for PaletteKey
impl Unpin for PaletteKey
impl UnsafeUnpin for PaletteKey
impl UnwindSafe for PaletteKey
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