pub struct PaletteSpec { /* private fields */ }Expand description
A canonical static palette specification.
Implementations§
Trait Implementations§
Source§impl Clone for PaletteSpec
impl Clone for PaletteSpec
Source§fn clone(&self) -> PaletteSpec
fn clone(&self) -> PaletteSpec
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 moreimpl Copy for PaletteSpec
Source§impl Debug for PaletteSpec
impl Debug for PaletteSpec
impl Eq for PaletteSpec
Source§impl Hash for PaletteSpec
impl Hash for PaletteSpec
Source§impl PartialEq for PaletteSpec
impl PartialEq for PaletteSpec
Source§fn eq(&self, other: &PaletteSpec) -> bool
fn eq(&self, other: &PaletteSpec) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PaletteSpec
Auto Trait Implementations§
impl Freeze for PaletteSpec
impl RefUnwindSafe for PaletteSpec
impl Send for PaletteSpec
impl Sync for PaletteSpec
impl Unpin for PaletteSpec
impl UnsafeUnpin for PaletteSpec
impl UnwindSafe for PaletteSpec
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