[][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.


opaque: boolpre_multiplied: boolpost_multiplied: boolinherit: bool


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 Eq for SupportedCompositeAlpha[src]

impl PartialEq<SupportedCompositeAlpha> for SupportedCompositeAlpha[src]

impl Debug for SupportedCompositeAlpha[src]

impl StructuralPartialEq for SupportedCompositeAlpha[src]

impl StructuralEq for SupportedCompositeAlpha[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Content for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

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

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> Any for T where
    T: 'static + ?Sized