Struct ash::vk::BufferImageCopyBuilder
source · pub struct BufferImageCopyBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> BufferImageCopyBuilder<'a>
impl<'a> BufferImageCopyBuilder<'a>
pub fn buffer_offset(self, buffer_offset: DeviceSize) -> Self
pub fn buffer_row_length(self, buffer_row_length: u32) -> Self
pub fn buffer_image_height(self, buffer_image_height: u32) -> Self
pub fn image_subresource( self, image_subresource: ImageSubresourceLayers ) -> Self
pub fn image_offset(self, image_offset: Offset3D) -> Self
pub fn image_extent(self, image_extent: Extent3D) -> Self
sourcepub fn build(self) -> BufferImageCopy
pub fn build(self) -> BufferImageCopy
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
source§impl<'a> Deref for BufferImageCopyBuilder<'a>
impl<'a> Deref for BufferImageCopyBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for BufferImageCopyBuilder<'a>
impl<'a> RefUnwindSafe for BufferImageCopyBuilder<'a>
impl<'a> Send for BufferImageCopyBuilder<'a>
impl<'a> Sync for BufferImageCopyBuilder<'a>
impl<'a> Unpin for BufferImageCopyBuilder<'a>
impl<'a> UnwindSafe for BufferImageCopyBuilder<'a>
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