Struct vulkanalia::vk::ImageFormatPropertiesBuilder[][src]

#[repr(transparent)]pub struct ImageFormatPropertiesBuilder { /* fields omitted */ }

A builder for a ImageFormatProperties.

Implementations

impl ImageFormatPropertiesBuilder[src]

pub fn max_extent(self, max_extent: impl Cast<Target = Extent3D>) -> Self[src]

pub fn max_mip_levels(self, max_mip_levels: u32) -> Self[src]

pub fn max_array_layers(self, max_array_layers: u32) -> Self[src]

pub fn sample_counts(self, sample_counts: SampleCountFlags) -> Self[src]

pub fn max_resource_size(self, max_resource_size: DeviceSize) -> Self[src]

pub fn build(self) -> ImageFormatProperties[src]

Trait Implementations

impl Cast for ImageFormatPropertiesBuilder[src]

type Target = ImageFormatProperties

The other type this type type can be used interchangeably with in FFI.

impl Clone for ImageFormatPropertiesBuilder[src]

impl Copy for ImageFormatPropertiesBuilder[src]

impl Debug for ImageFormatPropertiesBuilder[src]

impl Default for ImageFormatPropertiesBuilder[src]

impl Deref for ImageFormatPropertiesBuilder[src]

type Target = ImageFormatProperties

The resulting type after dereferencing.

impl DerefMut for ImageFormatPropertiesBuilder[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.