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 Clone for SurfaceTransform
[src]
impl Clone for SurfaceTransform
[src]fn clone(&self) -> SurfaceTransform
[src]
fn clone(&self) -> SurfaceTransform
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for SurfaceTransform
[src]
impl Debug for SurfaceTransform
[src]impl Default for SurfaceTransform
[src]
impl Default for SurfaceTransform
[src]fn default() -> SurfaceTransform
[src]
fn default() -> SurfaceTransform
[src]Returns the “default value” for a type. Read more
impl PartialEq<SurfaceTransform> for SurfaceTransform
[src]
impl PartialEq<SurfaceTransform> for SurfaceTransform
[src]impl Copy for SurfaceTransform
[src]
impl Eq for SurfaceTransform
[src]
impl StructuralEq for SurfaceTransform
[src]
impl StructuralPartialEq for SurfaceTransform
[src]
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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Content for T
[src]
impl<T> Content for T
[src]pub fn ref_from_ptr(*mut c_void, usize) -> Option<*mut T>
[src]
pub fn ref_from_ptr(*mut c_void, usize) -> Option<*mut T>
[src]Builds a pointer to this type from a raw pointer.
pub fn is_size_suitable(usize) -> bool
[src]
pub fn is_size_suitable(usize) -> bool
[src]Returns true if the size is suitable to store a type like this.
pub fn indiv_size() -> usize
[src]
pub fn indiv_size() -> usize
[src]Returns the size of an individual element.
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more