Enum gfx_hal::display::SurfaceTransform
source · [−]pub enum SurfaceTransform {
Identity,
Rotate90,
Rotate180,
Rotate270,
HorizontalMirror,
HorizontalMirrorRotate90,
HorizontalMirrorRotate180,
HorizontalMirrorRotate270,
Inherit,
}
Expand description
List of the hardware display transformations
Variants
Identity
Specify that image content is presented without being transformed.
Rotate90
Specify that image content is rotated 90 degrees clockwise.
Rotate180
Specify that image content is rotated 180 degrees clockwise.
Rotate270
Specify that image content is rotated 270 degrees clockwise.
HorizontalMirror
Specify that image content is mirrored horizontally.
HorizontalMirrorRotate90
Specify that image content is mirrored horizontally, then rotated 90 degrees clockwise.
HorizontalMirrorRotate180
Specify that image content is mirrored horizontally, then rotated 180 degrees clockwise.
HorizontalMirrorRotate270
Specify that image content is mirrored horizontally, then rotated 270 degrees clockwise.
Inherit
Specify that the presentation transform is not specified, and is instead determined by platform-specific considerations and mechanisms outside Vulkan.
Trait Implementations
sourceimpl Debug for SurfaceTransform
impl Debug for SurfaceTransform
sourceimpl Default for SurfaceTransform
impl Default for SurfaceTransform
sourceimpl From<SurfaceTransform> for SurfaceTransformFlags
impl From<SurfaceTransform> for SurfaceTransformFlags
sourcefn from(surface_transformation: SurfaceTransform) -> Self
fn from(surface_transformation: SurfaceTransform) -> Self
Performs the conversion.
sourceimpl PartialEq<SurfaceTransform> for SurfaceTransform
impl PartialEq<SurfaceTransform> for SurfaceTransform
impl StructuralPartialEq for SurfaceTransform
Auto Trait Implementations
impl RefUnwindSafe for SurfaceTransform
impl Send for SurfaceTransform
impl Sync for SurfaceTransform
impl Unpin for SurfaceTransform
impl UnwindSafe for SurfaceTransform
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more