Enum vulkano::swapchain::SurfaceTransform [] [src]

#[repr(u32)]
pub enum SurfaceTransform { Identity, Rotate90, Rotate180, Rotate270, HorizontalMirror, HorizontalMirrorRotate90, HorizontalMirrorRotate180, HorizontalMirrorRotate270, Inherit, }

A transformation to apply to the image before showing it on the screen.

Variants

Don't transform the image.

Rotate 90 degrees.

Rotate 180 degrees.

Rotate 270 degrees.

Mirror the image horizontally.

Mirror the image horizontally and rotate 90 degrees.

Mirror the image horizontally and rotate 180 degrees.

Mirror the image horizontally and rotate 270 degrees.

Let the operating system or driver implementation choose.

Trait Implementations

impl Copy for SurfaceTransform
[src]

impl Clone for SurfaceTransform
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for SurfaceTransform
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for SurfaceTransform
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for SurfaceTransform
[src]

impl Default for SurfaceTransform
[src]

[src]

Returns the "default value" for a type. Read more