Struct vulkanalia::vk::ImageCreateInfoBuilder
source · #[repr(transparent)]pub struct ImageCreateInfoBuilder<'b> { /* private fields */ }
Expand description
A builder for a ImageCreateInfo
.
Implementations§
source§impl<'b> ImageCreateInfoBuilder<'b>
impl<'b> ImageCreateInfoBuilder<'b>
pub fn push_next<T>(self, next: &'b mut impl Cast<Target = T>) -> Selfwhere T: ExtendsImageCreateInfo,
pub fn flags(self, flags: ImageCreateFlags) -> Self
pub fn image_type(self, image_type: ImageType) -> Self
pub fn format(self, format: Format) -> Self
pub fn extent(self, extent: impl Cast<Target = Extent3D>) -> Self
pub fn mip_levels(self, mip_levels: u32) -> Self
pub fn array_layers(self, array_layers: u32) -> Self
pub fn samples(self, samples: SampleCountFlags) -> Self
pub fn tiling(self, tiling: ImageTiling) -> Self
pub fn usage(self, usage: ImageUsageFlags) -> Self
pub fn sharing_mode(self, sharing_mode: SharingMode) -> Self
pub fn queue_family_indices(self, queue_family_indices: &'b [u32]) -> Self
pub fn initial_layout(self, initial_layout: ImageLayout) -> Self
pub fn build(self) -> ImageCreateInfo
Trait Implementations§
source§impl<'b> Cast for ImageCreateInfoBuilder<'b>
impl<'b> Cast for ImageCreateInfoBuilder<'b>
§type Target = ImageCreateInfo
type Target = ImageCreateInfo
The other type this type can be used interchangeably with in FFI.
source§impl<'b> Clone for ImageCreateInfoBuilder<'b>
impl<'b> Clone for ImageCreateInfoBuilder<'b>
source§fn clone(&self) -> ImageCreateInfoBuilder<'b>
fn clone(&self) -> ImageCreateInfoBuilder<'b>
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<'b> Debug for ImageCreateInfoBuilder<'b>
impl<'b> Debug for ImageCreateInfoBuilder<'b>
source§impl<'b> Default for ImageCreateInfoBuilder<'b>
impl<'b> Default for ImageCreateInfoBuilder<'b>
source§fn default() -> ImageCreateInfoBuilder<'b>
fn default() -> ImageCreateInfoBuilder<'b>
Returns the “default value” for a type. Read more
source§impl<'b> Deref for ImageCreateInfoBuilder<'b>
impl<'b> Deref for ImageCreateInfoBuilder<'b>
source§impl<'b> DerefMut for ImageCreateInfoBuilder<'b>
impl<'b> DerefMut for ImageCreateInfoBuilder<'b>
impl<'b> Copy for ImageCreateInfoBuilder<'b>
Auto Trait Implementations§
impl<'b> RefUnwindSafe for ImageCreateInfoBuilder<'b>
impl<'b> !Send for ImageCreateInfoBuilder<'b>
impl<'b> !Sync for ImageCreateInfoBuilder<'b>
impl<'b> Unpin for ImageCreateInfoBuilder<'b>
impl<'b> UnwindSafe for ImageCreateInfoBuilder<'b>
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