[][src]Struct vulkayes_core::resource::image::params::ImageSizeInfo

pub struct ImageSizeInfo(_);

Statically typed common safe combinations of image size, mipmap levels, sample flags and image create flags.

Implementations

impl ImageSizeInfo[src]

pub const fn General(size: ImageSize) -> Self[src]

General image size with no flags enabled.

pub const fn CubeCompatible(size: ImageSizeCubeCompatible) -> Self[src]

Cube compatible 2D layered image.

pub const fn Multisampled(
    width: NonZeroU32,
    height: NonZeroU32,
    array_layers: NonZeroU32,
    samples: SampleCountFlags
) -> Self
[src]

Multisampled 2D image.

pub const fn ArrayCompatible(size: ImageSize3D) -> Self[src]

Array compatible 3D image.

pub const unsafe fn Custom(
    size: ImageSize,
    samples: SampleCountFlags,
    flags: ImageCreateFlags
) -> Self
[src]

Trait Implementations

impl Clone for ImageSizeInfo[src]

impl Copy for ImageSizeInfo[src]

impl Debug for ImageSizeInfo[src]

impl Eq for ImageSizeInfo[src]

impl From<ImageSize> for ImageSizeInfo[src]

impl Hash for ImageSizeInfo[src]

impl Into<(ImageSize, SampleCountFlags, ImageCreateFlags)> for ImageSizeInfo[src]

impl PartialEq<ImageSizeInfo> for ImageSizeInfo[src]

impl StructuralEq for ImageSizeInfo[src]

impl StructuralPartialEq for ImageSizeInfo[src]

Auto Trait Implementations

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.