[][src]Struct qt_widgets::q_graphics_blur_effect::BlurHint

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

This enum describes the possible hints that can be used to control how blur effects are applied. The hints might not have an effect in all the paint engines.

C++ enum: QGraphicsBlurEffect::BlurHint.

C++ documentation:

This enum describes the possible hints that can be used to control how blur effects are applied. The hints might not have an effect in all the paint engines.

This enum was introduced or modified in Qt 4.6.

The BlurHints type is a typedef for QFlags<BlurHint>. It stores an OR combination of BlurHint values.

See also blurHints() and setBlurHints().

Methods

impl BlurHint[src]

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

impl BlurHint[src]

pub const PerformanceHint: BlurHint[src]

Indicates that rendering performance is the most important factor, at the potential cost of lower quality. (C++ enum variant: PerformanceHint = 0)

pub const QualityHint: BlurHint[src]

Indicates that rendering quality is the most important factor, at the potential cost of lower performance. (C++ enum variant: QualityHint = 1)

pub const AnimationHint: BlurHint[src]

Indicates that the blur radius is going to be animated, hinting that the implementation can keep a cache of blurred verisons of the source. Do not use this hint if the source is going to be dynamically changing. (C++ enum variant: AnimationHint = 2)

Trait Implementations

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

type Output = QFlags<BlurHint>

The resulting type after applying the | operator.

impl Clone for BlurHint[src]

impl Copy for BlurHint[src]

impl Debug for BlurHint[src]

impl Eq for BlurHint[src]

impl From<BlurHint> for c_int[src]

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

impl From<i32> for BlurHint[src]

impl PartialEq<BlurHint> for BlurHint[src]

impl StructuralEq for BlurHint[src]

impl StructuralPartialEq for BlurHint[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.