Enum qmetaobject::QColorNameFormat
source · #[repr(C)]pub enum QColorNameFormat {
HexRgb = 0,
HexArgb = 1,
}
Expand description
Bindings for QColor::NameFormat
enum class.
Variants§
HexRgb = 0
#RRGGBB A “#” character followed by three two-digit hexadecimal numbers (i.e. #RRGGBB).
HexArgb = 1
#AARRGGBB A “#” character followed by four two-digit hexadecimal numbers (i.e. #AARRGGBB).
Trait Implementations§
source§impl Clone for QColorNameFormat
impl Clone for QColorNameFormat
source§fn clone(&self) -> QColorNameFormat
fn clone(&self) -> QColorNameFormat
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 QColorNameFormat
impl Debug for QColorNameFormat
source§impl PartialEq for QColorNameFormat
impl PartialEq for QColorNameFormat
source§fn eq(&self, other: &QColorNameFormat) -> bool
fn eq(&self, other: &QColorNameFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for QColorNameFormat
impl StructuralPartialEq for QColorNameFormat
Auto Trait Implementations§
impl RefUnwindSafe for QColorNameFormat
impl Send for QColorNameFormat
impl Sync for QColorNameFormat
impl Unpin for QColorNameFormat
impl UnwindSafe for QColorNameFormat
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