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

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

Methods

impl SupportedCompositeAlpha
[src]

Builds a SupportedCompositeAlpha with all fields set to false.

Returns true if the given CompositeAlpha is in this list.

Returns an iterator to the list of supported composite alpha.

Trait Implementations

impl Copy for SupportedCompositeAlpha
[src]

impl Clone for SupportedCompositeAlpha
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for SupportedCompositeAlpha
[src]

Formats the value using the given formatter. Read more

impl PartialEq for SupportedCompositeAlpha
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for SupportedCompositeAlpha
[src]

Auto Trait Implementations