Struct vulkanalia::vk::ImageFormatPropertiesBuilder
source · #[repr(transparent)]pub struct ImageFormatPropertiesBuilder { /* private fields */ }
Expand description
A builder for a ImageFormatProperties
.
Implementations§
source§impl ImageFormatPropertiesBuilder
impl ImageFormatPropertiesBuilder
pub fn max_extent(self, max_extent: impl Cast<Target = Extent3D>) -> Self
pub fn max_mip_levels(self, max_mip_levels: u32) -> Self
pub fn max_array_layers(self, max_array_layers: u32) -> Self
pub fn sample_counts(self, sample_counts: SampleCountFlags) -> Self
pub fn max_resource_size(self, max_resource_size: DeviceSize) -> Self
pub fn build(self) -> ImageFormatProperties
Trait Implementations§
source§impl Cast for ImageFormatPropertiesBuilder
impl Cast for ImageFormatPropertiesBuilder
§type Target = ImageFormatProperties
type Target = ImageFormatProperties
The other type this type can be used interchangeably with in FFI.
source§impl Clone for ImageFormatPropertiesBuilder
impl Clone for ImageFormatPropertiesBuilder
source§fn clone(&self) -> ImageFormatPropertiesBuilder
fn clone(&self) -> ImageFormatPropertiesBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ImageFormatPropertiesBuilder
impl Debug for ImageFormatPropertiesBuilder
source§impl Default for ImageFormatPropertiesBuilder
impl Default for ImageFormatPropertiesBuilder
source§fn default() -> ImageFormatPropertiesBuilder
fn default() -> ImageFormatPropertiesBuilder
Returns the “default value” for a type. Read more
source§impl Deref for ImageFormatPropertiesBuilder
impl Deref for ImageFormatPropertiesBuilder
impl Copy for ImageFormatPropertiesBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ImageFormatPropertiesBuilder
impl Send for ImageFormatPropertiesBuilder
impl Sync for ImageFormatPropertiesBuilder
impl Unpin for ImageFormatPropertiesBuilder
impl UnwindSafe for ImageFormatPropertiesBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more