Struct qt_gui::q_painter::PixmapFragmentHint
source · pub struct PixmapFragmentHint(/* private fields */);
Expand description
This enum was introduced or modified in Qt 4.7.
C++ enum: QPainter::PixmapFragmentHint
.
This enum was introduced or modified in Qt 4.7.
The PixmapFragmentHints type is a typedef for QFlags<PixmapFragmentHint>. It stores an OR combination of PixmapFragmentHint values.
See also QPainter::drawPixmapFragments() and QPainter::PixmapFragment.
Implementations§
source§impl PixmapFragmentHint
impl PixmapFragmentHint
sourcepub const OpaqueHint: PixmapFragmentHint = _
pub const OpaqueHint: PixmapFragmentHint = _
Indicates that the pixmap fragments to be drawn are opaque. Opaque fragments are potentially faster to draw. (C++ enum variant: OpaqueHint = 1
)
Trait Implementations§
source§impl<T: Into<QFlags<PixmapFragmentHint>>> BitOr<T> for PixmapFragmentHint
impl<T: Into<QFlags<PixmapFragmentHint>>> BitOr<T> for PixmapFragmentHint
§type Output = QFlags<PixmapFragmentHint>
type Output = QFlags<PixmapFragmentHint>
The resulting type after applying the
|
operator.source§impl Clone for PixmapFragmentHint
impl Clone for PixmapFragmentHint
source§fn clone(&self) -> PixmapFragmentHint
fn clone(&self) -> PixmapFragmentHint
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 PixmapFragmentHint
impl Debug for PixmapFragmentHint
source§impl From<PixmapFragmentHint> for QFlags<PixmapFragmentHint>
impl From<PixmapFragmentHint> for QFlags<PixmapFragmentHint>
source§fn from(value: PixmapFragmentHint) -> Self
fn from(value: PixmapFragmentHint) -> Self
Converts to this type from the input type.
source§impl From<PixmapFragmentHint> for c_int
impl From<PixmapFragmentHint> for c_int
source§fn from(value: PixmapFragmentHint) -> Self
fn from(value: PixmapFragmentHint) -> Self
Converts to this type from the input type.
source§impl From<i32> for PixmapFragmentHint
impl From<i32> for PixmapFragmentHint
source§impl PartialEq for PixmapFragmentHint
impl PartialEq for PixmapFragmentHint
source§fn eq(&self, other: &PixmapFragmentHint) -> bool
fn eq(&self, other: &PixmapFragmentHint) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PixmapFragmentHint
impl Eq for PixmapFragmentHint
impl StructuralEq for PixmapFragmentHint
impl StructuralPartialEq for PixmapFragmentHint
Auto Trait Implementations§
impl RefUnwindSafe for PixmapFragmentHint
impl Send for PixmapFragmentHint
impl Sync for PixmapFragmentHint
impl Unpin for PixmapFragmentHint
impl UnwindSafe for PixmapFragmentHint
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