pub enum ColorOrQuery {
Color(SrgbaTuple),
Query,
}
Variants
Color(SrgbaTuple)
Query
Trait Implementations
sourceimpl Clone for ColorOrQuery
impl Clone for ColorOrQuery
sourcefn clone(&self) -> ColorOrQuery
fn clone(&self) -> ColorOrQuery
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 ColorOrQuery
impl Debug for ColorOrQuery
sourceimpl Display for ColorOrQuery
impl Display for ColorOrQuery
sourceimpl PartialEq<ColorOrQuery> for ColorOrQuery
impl PartialEq<ColorOrQuery> for ColorOrQuery
sourcefn eq(&self, other: &ColorOrQuery) -> bool
fn eq(&self, other: &ColorOrQuery) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ColorOrQuery) -> bool
fn ne(&self, other: &ColorOrQuery) -> bool
This method tests for !=
.
impl StructuralPartialEq for ColorOrQuery
Auto Trait Implementations
impl RefUnwindSafe for ColorOrQuery
impl Send for ColorOrQuery
impl Sync for ColorOrQuery
impl Unpin for ColorOrQuery
impl UnwindSafe for ColorOrQuery
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