Struct ash::vk::CopyBufferToImageInfo2KHRBuilder
source · [−]#[repr(transparent)]pub struct CopyBufferToImageInfo2KHRBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'a> CopyBufferToImageInfo2KHRBuilder<'a>
impl<'a> CopyBufferToImageInfo2KHRBuilder<'a>
pub fn src_buffer(self, src_buffer: Buffer) -> Self
pub fn dst_image(self, dst_image: Image) -> Self
pub fn dst_image_layout(self, dst_image_layout: ImageLayout) -> Self
pub fn regions(self, regions: &'a [BufferImageCopy2KHR]) -> Self
sourcepub fn build(self) -> CopyBufferToImageInfo2KHR
pub fn build(self) -> CopyBufferToImageInfo2KHR
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
sourceimpl<'a> Deref for CopyBufferToImageInfo2KHRBuilder<'a>
impl<'a> Deref for CopyBufferToImageInfo2KHRBuilder<'a>
type Target = CopyBufferToImageInfo2KHR
type Target = CopyBufferToImageInfo2KHR
The resulting type after dereferencing.
Auto Trait Implementations
impl<'a> RefUnwindSafe for CopyBufferToImageInfo2KHRBuilder<'a>
impl<'a> !Send for CopyBufferToImageInfo2KHRBuilder<'a>
impl<'a> !Sync for CopyBufferToImageInfo2KHRBuilder<'a>
impl<'a> Unpin for CopyBufferToImageInfo2KHRBuilder<'a>
impl<'a> UnwindSafe for CopyBufferToImageInfo2KHRBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more