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

pub struct ImageViewRange(_);

Implementations

impl ImageViewRange[src]

pub const fn Type1D(
    mipmap_levels_base: u32,
    mipmap_levels: NonZeroU32,
    array_layers_base: u32
) -> Self
[src]

pub const fn Type1DArray(
    mipmap_levels_base: u32,
    mipmap_levels: NonZeroU32,
    array_layers_base: u32,
    array_layers: NonZeroU32
) -> Self
[src]

pub const fn Type2D(
    mipmap_levels_base: u32,
    mipmap_levels: NonZeroU32,
    array_layers_base: u32
) -> Self
[src]

pub const fn Type2DArray(
    mipmap_levels_base: u32,
    mipmap_levels: NonZeroU32,
    array_layers_base: u32,
    array_layers: NonZeroU32
) -> Self
[src]

pub const fn TypeCube(
    mipmap_levels_base: u32,
    mipmap_levels: NonZeroU32,
    array_layers_base: u32
) -> Self
[src]

pub const fn TypeCubeArray(
    mipmap_levels_base: u32,
    mipmap_levels: NonZeroU32,
    array_layers_base: u32,
    array_layers_mult: NonZeroU32
) -> Self
[src]

The value of array_layers will be calculated as array_layers_mult * 6.

pub const fn Type3D(mipmap_levels_base: u32, mipmap_levels: NonZeroU32) -> Self[src]

pub const unsafe fn Custom(
    view_type: ImageViewType,
    mipmap_levels_base: u32,
    mipmap_levels: NonZeroU32,
    array_layers_base: u32,
    array_layers: NonZeroU32
) -> Self
[src]

Trait Implementations

impl Clone for ImageViewRange[src]

impl Copy for ImageViewRange[src]

impl Debug for ImageViewRange[src]

impl Eq for ImageViewRange[src]

impl Hash for ImageViewRange[src]

impl Into<ImageSubresourceSlice> for ImageViewRange[src]

impl PartialEq<ImageViewRange> for ImageViewRange[src]

impl StructuralEq for ImageViewRange[src]

impl StructuralPartialEq for ImageViewRange[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.