Struct qt_gui::q_color::NameFormat
source · pub struct NameFormat(/* private fields */);
Expand description
How to format the output of the name() function
C++ enum: QColor::NameFormat
.
Implementations§
source§impl NameFormat
impl NameFormat
sourcepub const HexRgb: NameFormat = _
pub const HexRgb: NameFormat = _
#RRGGBB A “#” character followed by three two-digit hexadecimal numbers (i.e. #RRGGBB
). (C++ enum variant: HexRgb = 0
)
sourcepub const HexArgb: NameFormat = _
pub const HexArgb: NameFormat = _
#AARRGGBB A “#” character followed by four two-digit hexadecimal numbers (i.e. #AARRGGBB
). (C++ enum variant: HexArgb = 1
)
Trait Implementations§
source§impl Clone for NameFormat
impl Clone for NameFormat
source§fn clone(&self) -> NameFormat
fn clone(&self) -> NameFormat
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 NameFormat
impl Debug for NameFormat
source§impl From<NameFormat> for c_int
impl From<NameFormat> for c_int
source§fn from(value: NameFormat) -> Self
fn from(value: NameFormat) -> Self
Converts to this type from the input type.
source§impl From<i32> for NameFormat
impl From<i32> for NameFormat
source§impl PartialEq for NameFormat
impl PartialEq for NameFormat
source§fn eq(&self, other: &NameFormat) -> bool
fn eq(&self, other: &NameFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for NameFormat
impl Eq for NameFormat
impl StructuralEq for NameFormat
impl StructuralPartialEq for NameFormat
Auto Trait Implementations§
impl RefUnwindSafe for NameFormat
impl Send for NameFormat
impl Sync for NameFormat
impl Unpin for NameFormat
impl UnwindSafe for NameFormat
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