[][src]Struct qt_gui::q_painter::PixmapFragmentHint

#[repr(transparent)]
pub struct PixmapFragmentHint(_);

This enum was introduced or modified in Qt 4.7.

C++ enum: QPainter::PixmapFragmentHint.

C++ documentation:

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.

Methods

impl PixmapFragmentHint[src]

pub fn to_int(&self) -> c_int[src]

impl PixmapFragmentHint[src]

pub const OpaqueHint: PixmapFragmentHint[src]

Indicates that the pixmap fragments to be drawn are opaque. Opaque fragments are potentially faster to draw. (C++ enum variant: OpaqueHint = 1)

Trait Implementations

impl Eq for PixmapFragmentHint[src]

impl Clone for PixmapFragmentHint[src]

impl PartialEq<PixmapFragmentHint> for PixmapFragmentHint[src]

impl From<i32> for PixmapFragmentHint[src]

impl From<PixmapFragmentHint> for c_int[src]

impl From<PixmapFragmentHint> for QFlags<PixmapFragmentHint>[src]

impl Copy for PixmapFragmentHint[src]

impl<T: Into<QFlags<PixmapFragmentHint>>> BitOr<T> for PixmapFragmentHint[src]

type Output = QFlags<PixmapFragmentHint>

The resulting type after applying the | operator.

impl Debug for PixmapFragmentHint[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]