[−][src]Struct qt_core::MaskMode
This enum specifies the behavior of the QPixmap::createMaskFromColor() and QImage::createMaskFromColor() functions.
C++ enum: Qt::MaskMode
.
This enum specifies the behavior of the QPixmap::createMaskFromColor() and QImage::createMaskFromColor() functions.
Methods
impl MaskMode
[src]
impl MaskMode
[src]
pub const MaskInColor: MaskMode
[src]
Creates a mask where all pixels matching the given color are opaque. (C++ enum variant: MaskInColor = 0
)
pub const MaskOutColor: MaskMode
[src]
Creates a mask where all pixels matching the given color are transparent. (C++ enum variant: MaskOutColor = 1
)
Trait Implementations
impl Clone for MaskMode
[src]
impl Copy for MaskMode
[src]
impl Debug for MaskMode
[src]
impl Eq for MaskMode
[src]
impl From<MaskMode> for c_int
[src]
impl From<i32> for MaskMode
[src]
impl PartialEq<MaskMode> for MaskMode
[src]
impl StructuralEq for MaskMode
[src]
impl StructuralPartialEq for MaskMode
[src]
Auto Trait Implementations
impl RefUnwindSafe for MaskMode
impl Send for MaskMode
impl Sync for MaskMode
impl Unpin for MaskMode
impl UnwindSafe for MaskMode
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,