pub struct ImageFormatPropertiesBuilder { /* private fields */ }Expand description
Builder for ImageFormatProperties.
Implementations§
Source§impl ImageFormatPropertiesBuilder
impl ImageFormatPropertiesBuilder
pub fn max_extent(self, value: Extent3D) -> ImageFormatPropertiesBuilder
pub fn max_mip_levels(self, value: u32) -> ImageFormatPropertiesBuilder
pub fn max_array_layers(self, value: u32) -> ImageFormatPropertiesBuilder
pub fn sample_counts( self, value: SampleCountFlagBits, ) -> ImageFormatPropertiesBuilder
pub fn max_resource_size(self, value: u64) -> ImageFormatPropertiesBuilder
Trait Implementations§
Source§impl Deref for ImageFormatPropertiesBuilder
impl Deref for ImageFormatPropertiesBuilder
Source§type Target = ImageFormatProperties
type Target = ImageFormatProperties
The resulting type after dereferencing.
Auto Trait Implementations§
impl Freeze for ImageFormatPropertiesBuilder
impl RefUnwindSafe for ImageFormatPropertiesBuilder
impl Send for ImageFormatPropertiesBuilder
impl Sync for ImageFormatPropertiesBuilder
impl Unpin for ImageFormatPropertiesBuilder
impl UnsafeUnpin 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