pub struct PixmapPadMode(/* private fields */);Expand description
This enum describes how the pixmap returned from sourcePixmap should be padded.
C++ enum: QGraphicsEffect::PixmapPadMode.
This enum describes how the pixmap returned from sourcePixmap should be padded.
Implementations§
Source§impl PixmapPadMode
impl PixmapPadMode
Sourcepub const NoPad: PixmapPadMode
pub const NoPad: PixmapPadMode
The pixmap should not receive any additional padding. (C++ enum variant: NoPad = 0)
Sourcepub const PadToTransparentBorder: PixmapPadMode
pub const PadToTransparentBorder: PixmapPadMode
The pixmap should be padded to ensure it has a completely transparent border. (C++ enum variant: PadToTransparentBorder = 1)
Sourcepub const PadToEffectiveBoundingRect: PixmapPadMode
pub const PadToEffectiveBoundingRect: PixmapPadMode
The pixmap should be padded to match the effective bounding rectangle of the effect. (C++ enum variant: PadToEffectiveBoundingRect = 2)
Trait Implementations§
Source§impl Clone for PixmapPadMode
impl Clone for PixmapPadMode
Source§fn clone(&self) -> PixmapPadMode
fn clone(&self) -> PixmapPadMode
Returns a duplicate 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 PixmapPadMode
impl Debug for PixmapPadMode
Source§impl From<PixmapPadMode> for c_int
impl From<PixmapPadMode> for c_int
Source§fn from(value: PixmapPadMode) -> Self
fn from(value: PixmapPadMode) -> Self
Converts to this type from the input type.
Source§impl From<i32> for PixmapPadMode
impl From<i32> for PixmapPadMode
Source§impl PartialEq for PixmapPadMode
impl PartialEq for PixmapPadMode
impl Copy for PixmapPadMode
impl Eq for PixmapPadMode
impl StructuralPartialEq for PixmapPadMode
Auto Trait Implementations§
impl Freeze for PixmapPadMode
impl RefUnwindSafe for PixmapPadMode
impl Send for PixmapPadMode
impl Sync for PixmapPadMode
impl Unpin for PixmapPadMode
impl UnwindSafe for PixmapPadMode
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