#[repr(transparent)]pub struct QImageInvertMode {
pub repr: i32,
}Expand description
This enum type is used to describe how pixel values should be inverted in the QImage::invert_pixels function.
Fields§
§repr: i32Implementations§
Source§impl QImageInvertMode
impl QImageInvertMode
Sourcepub const InvertRgb: Self
Available on crate feature qt_gui only.
pub const InvertRgb: Self
qt_gui only.Invert only the RGB values and leave the alpha channel unchanged.
Sourcepub const InvertRgba: Self
Available on crate feature qt_gui only.
pub const InvertRgba: Self
qt_gui only.Invert all channels, including the alpha channel.
Trait Implementations§
Source§impl Clone for QImageInvertMode
Available on crate feature qt_gui only.
impl Clone for QImageInvertMode
Available on crate feature
qt_gui only.Source§impl Debug for QImageInvertMode
Available on crate feature qt_gui only.
impl Debug for QImageInvertMode
Available on crate feature
qt_gui only.Source§impl ExternType for QImageInvertMode
Available on crate feature qt_gui only.
impl ExternType for QImageInvertMode
Available on crate feature
qt_gui only.Source§impl PartialEq for QImageInvertMode
Available on crate feature qt_gui only.
impl PartialEq for QImageInvertMode
Available on crate feature
qt_gui only.impl Copy for QImageInvertMode
Available on crate feature
qt_gui only.impl Eq for QImageInvertMode
Available on crate feature
qt_gui only.impl StructuralPartialEq for QImageInvertMode
Available on crate feature
qt_gui only.Auto Trait Implementations§
impl Freeze for QImageInvertMode
impl RefUnwindSafe for QImageInvertMode
impl Send for QImageInvertMode
impl Sync for QImageInvertMode
impl Unpin for QImageInvertMode
impl UnsafeUnpin for QImageInvertMode
impl UnwindSafe for QImageInvertMode
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