[][src]Enum bedrock::SurfaceTransform

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

Variants

Identity

The image content is presented without being transformed

Rotate90

The image content is rotated 90 degrees clockwise

Rotate180

The image content is rotated 180 degrees clockwise

Rotate270

The image content is rotated 270 degrees clockwise

HorizontalMirror

The image content is mirrored horizontally

HorizontalMirrorRotate90

The image content is mirrored horizontally, then rotated 90 degrees clockwise

HorizontalMirrorRotate180

The image content is mirrored horizontally, then rotated 180 degrees clockwise

HorizontalMirrorRotate270

The image content is mirrored horizontally, then rotated 270 degrees clockwise

Inherit

The presentation transform is not specified, and is instead determined by platform-specific considerations and mechanisms outside Vulkan

Methods

impl SurfaceTransform[src]

pub fn contains(self, value: u32) -> bool[src]

Does the value contains this bits

Trait Implementations

impl Clone for SurfaceTransform[src]

impl Copy for SurfaceTransform[src]

impl Debug for SurfaceTransform[src]

impl Eq for SurfaceTransform[src]

impl PartialEq<SurfaceTransform> 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> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.