pub struct SurfaceTransformFlags(/* private fields */);
Expand description
Presentation transforms supported on a device
Implementations§
Source§impl SurfaceTransformFlags
impl SurfaceTransformFlags
Sourcepub const fn bits(&self) -> VkSurfaceTransformFlagsKHR
pub const fn bits(&self) -> VkSurfaceTransformFlagsKHR
Returns bits in this flags
Sourcepub const fn has_any(self, other: Self) -> bool
pub const fn has_any(self, other: Self) -> bool
Returns true if any of specified bits are contained in this flag.
Source§impl SurfaceTransformFlags
impl SurfaceTransformFlags
Sourcepub const ROTATE_180: Self
pub const ROTATE_180: Self
The image content is rotated 180 degrees clockwise
Sourcepub const ROTATE_270: Self
pub const ROTATE_270: Self
The image content is rotated 270 degrees clockwise
Sourcepub const HORIZONTAL_MIRROR: Self
pub const HORIZONTAL_MIRROR: Self
The image content is mirrored horizontally
Sourcepub const HORIZONTAL_MIRROR_ROTATE_90: Self
pub const HORIZONTAL_MIRROR_ROTATE_90: Self
The image content is mirrored horizontally, then rotated 90 degrees clockwise
Sourcepub const HORIZONTAL_MIRROR_ROTATE_180: Self
pub const HORIZONTAL_MIRROR_ROTATE_180: Self
The image content is mirrored horizontally, then rotated 180 degrees clockwise
Sourcepub const HORIZONTAL_MIRROR_ROTATE_270: Self
pub const HORIZONTAL_MIRROR_ROTATE_270: Self
The image content is mirrored horizontally, then rotated 270 degrees clockwise
Trait Implementations§
Source§impl BitAnd for SurfaceTransformFlags
impl BitAnd for SurfaceTransformFlags
Source§impl BitAndAssign for SurfaceTransformFlags
impl BitAndAssign for SurfaceTransformFlags
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moreSource§impl BitOr for SurfaceTransformFlags
impl BitOr for SurfaceTransformFlags
Source§impl BitOrAssign for SurfaceTransformFlags
impl BitOrAssign for SurfaceTransformFlags
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moreSource§impl Clone for SurfaceTransformFlags
impl Clone for SurfaceTransformFlags
Source§fn clone(&self) -> SurfaceTransformFlags
fn clone(&self) -> SurfaceTransformFlags
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl From<SurfaceTransformFlags> for VkSurfaceTransformFlagsKHR
impl From<SurfaceTransformFlags> for VkSurfaceTransformFlagsKHR
Source§fn from(value: SurfaceTransformFlags) -> Self
fn from(value: SurfaceTransformFlags) -> Self
Converts to this type from the input type.
Source§impl Hash for SurfaceTransformFlags
impl Hash for SurfaceTransformFlags
Source§impl Not for SurfaceTransformFlags
impl Not for SurfaceTransformFlags
Source§impl Ord for SurfaceTransformFlags
impl Ord for SurfaceTransformFlags
Source§fn cmp(&self, other: &SurfaceTransformFlags) -> Ordering
fn cmp(&self, other: &SurfaceTransformFlags) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SurfaceTransformFlags
impl PartialEq for SurfaceTransformFlags
Source§impl PartialOrd for SurfaceTransformFlags
impl PartialOrd for SurfaceTransformFlags
impl Copy for SurfaceTransformFlags
impl Eq for SurfaceTransformFlags
impl StructuralPartialEq for SurfaceTransformFlags
Auto Trait Implementations§
impl Freeze for SurfaceTransformFlags
impl RefUnwindSafe for SurfaceTransformFlags
impl Send for SurfaceTransformFlags
impl Sync for SurfaceTransformFlags
impl Unpin for SurfaceTransformFlags
impl UnwindSafe for SurfaceTransformFlags
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more