[][src]Struct qt_widgets::q_graphics_effect::PixmapPadMode

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

This enum describes how the pixmap returned from sourcePixmap should be padded.

C++ enum: QGraphicsEffect::PixmapPadMode.

C++ documentation:

This enum describes how the pixmap returned from sourcePixmap should be padded.

Methods

impl PixmapPadMode[src]

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

impl PixmapPadMode[src]

pub const NoPad: PixmapPadMode[src]

The pixmap should not receive any additional padding. (C++ enum variant: NoPad = 0)

pub const PadToTransparentBorder: PixmapPadMode[src]

The pixmap should be padded to ensure it has a completely transparent border. (C++ enum variant: PadToTransparentBorder = 1)

pub const PadToEffectiveBoundingRect: PixmapPadMode[src]

The pixmap should be padded to match the effective bounding rectangle of the effect. (C++ enum variant: PadToEffectiveBoundingRect = 2)

Trait Implementations

impl Eq for PixmapPadMode[src]

impl Clone for PixmapPadMode[src]

impl PartialEq<PixmapPadMode> for PixmapPadMode[src]

impl From<i32> for PixmapPadMode[src]

impl From<PixmapPadMode> for c_int[src]

impl Copy for PixmapPadMode[src]

impl Debug for PixmapPadMode[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]