[][src]Struct vulkano::swapchain::SupportedCompositeAlpha

pub struct SupportedCompositeAlpha {
    pub opaque: bool,
    pub pre_multiplied: bool,
    pub post_multiplied: bool,
    pub inherit: bool,
}

List of supported composite alpha modes.

See the docs of CompositeAlpha.

Fields

opaque: boolpre_multiplied: boolpost_multiplied: boolinherit: bool

Implementations

impl SupportedCompositeAlpha[src]

pub fn none() -> SupportedCompositeAlpha[src]

Builds a SupportedCompositeAlpha with all fields set to false.

pub fn supports(&self, value: CompositeAlpha) -> bool[src]

Returns true if the given CompositeAlpha is in this list.

pub fn iter(&self) -> SupportedCompositeAlphaIter[src]

Returns an iterator to the list of supported composite alpha.

Trait Implementations

impl Clone for SupportedCompositeAlpha[src]

impl Copy for SupportedCompositeAlpha[src]

impl Debug for SupportedCompositeAlpha[src]

impl Eq for SupportedCompositeAlpha[src]

impl PartialEq<SupportedCompositeAlpha> for SupportedCompositeAlpha[src]

impl StructuralEq for SupportedCompositeAlpha[src]

impl StructuralPartialEq for SupportedCompositeAlpha[src]

Auto Trait Implementations

impl RefUnwindSafe for SupportedCompositeAlpha

impl Send for SupportedCompositeAlpha

impl Sync for SupportedCompositeAlpha

impl Unpin for SupportedCompositeAlpha

impl UnwindSafe for SupportedCompositeAlpha

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> Content for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<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.