pub struct ChangeColorPair {
pub palette_index: u8,
pub color: ColorOrQuery,
}
Fields
palette_index: u8
color: ColorOrQuery
Trait Implementations
sourceimpl Clone for ChangeColorPair
impl Clone for ChangeColorPair
sourcefn clone(&self) -> ChangeColorPair
fn clone(&self) -> ChangeColorPair
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ChangeColorPair
impl Debug for ChangeColorPair
sourceimpl PartialEq<ChangeColorPair> for ChangeColorPair
impl PartialEq<ChangeColorPair> for ChangeColorPair
sourcefn eq(&self, other: &ChangeColorPair) -> bool
fn eq(&self, other: &ChangeColorPair) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ChangeColorPair) -> bool
fn ne(&self, other: &ChangeColorPair) -> bool
This method tests for !=
.
impl StructuralPartialEq for ChangeColorPair
Auto Trait Implementations
impl RefUnwindSafe for ChangeColorPair
impl Send for ChangeColorPair
impl Sync for ChangeColorPair
impl Unpin for ChangeColorPair
impl UnwindSafe for ChangeColorPair
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more