Enum qmetaobject::QColorSpec
source · #[repr(C)]pub enum QColorSpec {
Invalid = 0,
Rgb = 1,
Hsv = 2,
Cmyk = 3,
Hsl = 4,
ExtendedRgb = 5,
}
Expand description
Bindings for QColor::Spec
enum class.
Variants§
Trait Implementations§
source§impl Clone for QColorSpec
impl Clone for QColorSpec
source§fn clone(&self) -> QColorSpec
fn clone(&self) -> QColorSpec
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 QColorSpec
impl Debug for QColorSpec
source§impl PartialEq for QColorSpec
impl PartialEq for QColorSpec
source§fn eq(&self, other: &QColorSpec) -> bool
fn eq(&self, other: &QColorSpec) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for QColorSpec
impl StructuralPartialEq for QColorSpec
Auto Trait Implementations§
impl RefUnwindSafe for QColorSpec
impl Send for QColorSpec
impl Sync for QColorSpec
impl Unpin for QColorSpec
impl UnwindSafe for QColorSpec
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