[][src]Enum vulkano::format::FormatTy

pub enum FormatTy {
    Float,
    Uint,
    Sint,
    Depth,
    Stencil,
    DepthStencil,
    Compressed,
}

Variants

Float
Uint
Sint
Depth
Stencil
DepthStencil
Compressed

Methods

impl FormatTy[src]

pub fn is_depth_and_or_stencil(&self) -> bool[src]

Returns true if Depth, Stencil, DepthStencil. False otherwise.

Trait Implementations

impl Clone for FormatTy[src]

impl Copy for FormatTy[src]

impl Eq for FormatTy[src]

impl PartialEq<FormatTy> for FormatTy[src]

impl Debug for FormatTy[src]

impl Hash for FormatTy[src]

impl StructuralPartialEq for FormatTy[src]

impl StructuralEq for FormatTy[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Content for T[src]

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

impl<T> From<T> for 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.

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

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]