pub struct AlphaUsage(/* private fields */);Expand description
C++ enum: QPixelFormat::AlphaUsage.
Implementations§
Source§impl AlphaUsage
impl AlphaUsage
Sourcepub const UsesAlpha: AlphaUsage
pub const UsesAlpha: AlphaUsage
C++ enum variant: UsesAlpha = 0
Sourcepub const IgnoresAlpha: AlphaUsage
pub const IgnoresAlpha: AlphaUsage
C++ enum variant: IgnoresAlpha = 1
Trait Implementations§
Source§impl Clone for AlphaUsage
impl Clone for AlphaUsage
Source§fn clone(&self) -> AlphaUsage
fn clone(&self) -> AlphaUsage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AlphaUsage
impl Debug for AlphaUsage
Source§impl From<AlphaUsage> for c_int
impl From<AlphaUsage> for c_int
Source§fn from(value: AlphaUsage) -> Self
fn from(value: AlphaUsage) -> Self
Converts to this type from the input type.
Source§impl From<i32> for AlphaUsage
impl From<i32> for AlphaUsage
Source§impl PartialEq for AlphaUsage
impl PartialEq for AlphaUsage
Source§fn eq(&self, other: &AlphaUsage) -> bool
fn eq(&self, other: &AlphaUsage) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AlphaUsage
impl Eq for AlphaUsage
impl StructuralPartialEq for AlphaUsage
Auto Trait Implementations§
impl Freeze for AlphaUsage
impl RefUnwindSafe for AlphaUsage
impl Send for AlphaUsage
impl Sync for AlphaUsage
impl Unpin for AlphaUsage
impl UnsafeUnpin for AlphaUsage
impl UnwindSafe for AlphaUsage
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