Struct qt_gui::q_color_space::Primaries
source · pub struct Primaries(/* private fields */);
Expand description
Predefined sets of primary colors.
C++ enum: QColorSpace::Primaries
.
Predefined sets of primary colors.
Implementations§
source§impl Primaries
impl Primaries
sourcepub const Custom: Primaries = _
pub const Custom: Primaries = _
The primaries are undefined or does not match any predefined sets. (C++ enum variant: Custom = 0
)
sourcepub const DciP3D65: Primaries = _
pub const DciP3D65: Primaries = _
The DCI-P3 primaries with the D65 whitepoint (C++ enum variant: DciP3D65 = 3
)
sourcepub const ProPhotoRgb: Primaries = _
pub const ProPhotoRgb: Primaries = _
The ProPhoto RGB primaries with the D50 whitepoint (C++ enum variant: ProPhotoRgb = 4
)
Trait Implementations§
source§impl PartialEq for Primaries
impl PartialEq for Primaries
impl Copy for Primaries
impl Eq for Primaries
impl StructuralEq for Primaries
impl StructuralPartialEq for Primaries
Auto Trait Implementations§
impl RefUnwindSafe for Primaries
impl Send for Primaries
impl Sync for Primaries
impl Unpin for Primaries
impl UnwindSafe for Primaries
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