Struct vulkano::swapchain::SupportedSurfaceTransforms
[−]
[src]
pub struct SupportedSurfaceTransforms { pub identity: bool, pub rotate90: bool, pub rotate180: bool, pub rotate270: bool, pub horizontal_mirror: bool, pub horizontal_mirror_rotate90: bool, pub horizontal_mirror_rotate180: bool, pub horizontal_mirror_rotate270: bool, pub inherit: bool, }
List of supported composite alpha modes.
Fields
identity: bool
rotate90: bool
rotate180: bool
rotate270: bool
horizontal_mirror: bool
horizontal_mirror_rotate90: bool
horizontal_mirror_rotate180: bool
horizontal_mirror_rotate270: bool
inherit: bool
Methods
impl SupportedSurfaceTransforms
[src]
fn none() -> SupportedSurfaceTransforms
Builds a SupportedSurfaceTransforms
with all fields set to false.
fn supports(&self, value: SurfaceTransform) -> bool
Returns true if the given SurfaceTransform
is in this list.
fn iter(&self) -> SupportedSurfaceTransformsIter
Returns an iterator to the list of supported composite alpha.
Trait Implementations
impl Copy for SupportedSurfaceTransforms
[src]
impl Clone for SupportedSurfaceTransforms
[src]
fn clone(&self) -> SupportedSurfaceTransforms
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for SupportedSurfaceTransforms
[src]
impl PartialEq for SupportedSurfaceTransforms
[src]
fn eq(&self, __arg_0: &SupportedSurfaceTransforms) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SupportedSurfaceTransforms) -> bool
This method tests for !=
.