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
opaque: bool
pre_multiplied: bool
post_multiplied: bool
inherit: bool
Methods
impl SupportedCompositeAlpha
[src]
fn none() -> SupportedCompositeAlpha
[src]
Builds a SupportedCompositeAlpha
with all fields set to false.
fn supports(&self, value: CompositeAlpha) -> bool
[src]
Returns true if the given CompositeAlpha
is in this list.
fn iter(&self) -> SupportedCompositeAlphaIter
[src]
Returns an iterator to the list of supported composite alpha.
Trait Implementations
impl Copy for SupportedCompositeAlpha
[src]
impl Clone for SupportedCompositeAlpha
[src]
fn clone(&self) -> SupportedCompositeAlpha
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for SupportedCompositeAlpha
[src]
impl PartialEq for SupportedCompositeAlpha
[src]
fn eq(&self, __arg_0: &SupportedCompositeAlpha) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SupportedCompositeAlpha) -> bool
[src]
This method tests for !=
.