[][src]Struct qt_gui::q_pixel_format::AlphaPremultiplied

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

This enum type describes the boolean state if the alpha channel is multiplied into the color channels or not.

C++ enum: QPixelFormat::AlphaPremultiplied.

C++ documentation:

This enum type describes the boolean state if the alpha channel is multiplied into the color channels or not.

Methods

impl AlphaPremultiplied[src]

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

impl AlphaPremultiplied[src]

pub const NotPremultiplied: AlphaPremultiplied[src]

The alpha channel is not multiplied into the color channels. (C++ enum variant: NotPremultiplied = 0)

pub const Premultiplied: AlphaPremultiplied[src]

The alpha channel is multiplied into the color channels. (C++ enum variant: Premultiplied = 1)

Trait Implementations

impl Clone for AlphaPremultiplied[src]

impl Copy for AlphaPremultiplied[src]

impl Debug for AlphaPremultiplied[src]

impl Eq for AlphaPremultiplied[src]

impl From<AlphaPremultiplied> for c_int[src]

impl From<i32> for AlphaPremultiplied[src]

impl PartialEq<AlphaPremultiplied> for AlphaPremultiplied[src]

impl StructuralEq for AlphaPremultiplied[src]

impl StructuralPartialEq for AlphaPremultiplied[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.