Struct qt_gui::q_pixel_format::AlphaPosition
source · pub struct AlphaPosition(/* private fields */);
Expand description
This enum type is used to describe the alpha channels position relative to the color channels.
C++ enum: QPixelFormat::AlphaPosition
.
This enum type is used to describe the alpha channels position relative to the color channels.
Implementations§
source§impl AlphaPosition
impl AlphaPosition
sourcepub const AtBeginning: AlphaPosition = _
pub const AtBeginning: AlphaPosition = _
The alpha channel will be put in front of the color channels . E.g. ARGB. (C++ enum variant: AtBeginning = 0
)
sourcepub const AtEnd: AlphaPosition = _
pub const AtEnd: AlphaPosition = _
The alpha channel will be put in the back of the color channels. E.g. RGBA. (C++ enum variant: AtEnd = 1
)
Trait Implementations§
source§impl Clone for AlphaPosition
impl Clone for AlphaPosition
source§fn clone(&self) -> AlphaPosition
fn clone(&self) -> AlphaPosition
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 AlphaPosition
impl Debug for AlphaPosition
source§impl From<AlphaPosition> for c_int
impl From<AlphaPosition> for c_int
source§fn from(value: AlphaPosition) -> Self
fn from(value: AlphaPosition) -> Self
Converts to this type from the input type.
source§impl From<i32> for AlphaPosition
impl From<i32> for AlphaPosition
source§impl PartialEq for AlphaPosition
impl PartialEq for AlphaPosition
source§fn eq(&self, other: &AlphaPosition) -> bool
fn eq(&self, other: &AlphaPosition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AlphaPosition
impl Eq for AlphaPosition
impl StructuralEq for AlphaPosition
impl StructuralPartialEq for AlphaPosition
Auto Trait Implementations§
impl RefUnwindSafe for AlphaPosition
impl Send for AlphaPosition
impl Sync for AlphaPosition
impl Unpin for AlphaPosition
impl UnwindSafe for AlphaPosition
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