Struct vulkanalia::vk::ImageViewCreateInfoBuilder
source · pub struct ImageViewCreateInfoBuilder<'b> { /* private fields */ }
Expand description
A builder for a ImageViewCreateInfo
.
Implementations§
source§impl<'b> ImageViewCreateInfoBuilder<'b>
impl<'b> ImageViewCreateInfoBuilder<'b>
pub fn push_next<T>(self, next: &'b mut impl Cast<Target = T>) -> Selfwhere
T: ExtendsImageViewCreateInfo,
pub fn flags(self, flags: ImageViewCreateFlags) -> Self
pub fn image(self, image: Image) -> Self
pub fn view_type(self, view_type: ImageViewType) -> Self
pub fn format(self, format: Format) -> Self
pub fn components( self, components: impl Cast<Target = ComponentMapping> ) -> Self
pub fn subresource_range( self, subresource_range: impl Cast<Target = ImageSubresourceRange> ) -> Self
pub fn build(self) -> ImageViewCreateInfo
Trait Implementations§
source§impl<'b> Cast for ImageViewCreateInfoBuilder<'b>
impl<'b> Cast for ImageViewCreateInfoBuilder<'b>
§type Target = ImageViewCreateInfo
type Target = ImageViewCreateInfo
The other type this type can be used interchangeably with in FFI.
source§impl<'b> Clone for ImageViewCreateInfoBuilder<'b>
impl<'b> Clone for ImageViewCreateInfoBuilder<'b>
source§fn clone(&self) -> ImageViewCreateInfoBuilder<'b>
fn clone(&self) -> ImageViewCreateInfoBuilder<'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 ImageViewCreateInfoBuilder<'b>
impl<'b> Debug for ImageViewCreateInfoBuilder<'b>
source§impl<'b> Default for ImageViewCreateInfoBuilder<'b>
impl<'b> Default for ImageViewCreateInfoBuilder<'b>
source§fn default() -> ImageViewCreateInfoBuilder<'b>
fn default() -> ImageViewCreateInfoBuilder<'b>
Returns the “default value” for a type. Read more
source§impl<'b> Deref for ImageViewCreateInfoBuilder<'b>
impl<'b> Deref for ImageViewCreateInfoBuilder<'b>
source§impl<'b> DerefMut for ImageViewCreateInfoBuilder<'b>
impl<'b> DerefMut for ImageViewCreateInfoBuilder<'b>
impl<'b> Copy for ImageViewCreateInfoBuilder<'b>
Auto Trait Implementations§
impl<'b> Freeze for ImageViewCreateInfoBuilder<'b>
impl<'b> RefUnwindSafe for ImageViewCreateInfoBuilder<'b>
impl<'b> !Send for ImageViewCreateInfoBuilder<'b>
impl<'b> !Sync for ImageViewCreateInfoBuilder<'b>
impl<'b> Unpin for ImageViewCreateInfoBuilder<'b>
impl<'b> UnwindSafe for ImageViewCreateInfoBuilder<'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