Struct vulkanalia::vk::BufferImageCopy2Builder
source · #[repr(transparent)]pub struct BufferImageCopy2Builder<'b> { /* private fields */ }
Expand description
A builder for a BufferImageCopy2
.
Implementations§
source§impl<'b> BufferImageCopy2Builder<'b>
impl<'b> BufferImageCopy2Builder<'b>
pub fn push_next<T>(self, next: &'b mut impl Cast<Target = T>) -> Selfwhere T: ExtendsBufferImageCopy2,
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: impl Cast<Target = ImageSubresourceLayers> ) -> Self
pub fn image_offset(self, image_offset: impl Cast<Target = Offset3D>) -> Self
pub fn image_extent(self, image_extent: impl Cast<Target = Extent3D>) -> Self
pub fn build(self) -> BufferImageCopy2
Trait Implementations§
source§impl<'b> Cast for BufferImageCopy2Builder<'b>
impl<'b> Cast for BufferImageCopy2Builder<'b>
§type Target = BufferImageCopy2
type Target = BufferImageCopy2
The other type this type can be used interchangeably with in FFI.
source§impl<'b> Clone for BufferImageCopy2Builder<'b>
impl<'b> Clone for BufferImageCopy2Builder<'b>
source§fn clone(&self) -> BufferImageCopy2Builder<'b>
fn clone(&self) -> BufferImageCopy2Builder<'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 BufferImageCopy2Builder<'b>
impl<'b> Debug for BufferImageCopy2Builder<'b>
source§impl<'b> Default for BufferImageCopy2Builder<'b>
impl<'b> Default for BufferImageCopy2Builder<'b>
source§fn default() -> BufferImageCopy2Builder<'b>
fn default() -> BufferImageCopy2Builder<'b>
Returns the “default value” for a type. Read more
source§impl<'b> Deref for BufferImageCopy2Builder<'b>
impl<'b> Deref for BufferImageCopy2Builder<'b>
source§impl<'b> DerefMut for BufferImageCopy2Builder<'b>
impl<'b> DerefMut for BufferImageCopy2Builder<'b>
impl<'b> Copy for BufferImageCopy2Builder<'b>
Auto Trait Implementations§
impl<'b> RefUnwindSafe for BufferImageCopy2Builder<'b>
impl<'b> !Send for BufferImageCopy2Builder<'b>
impl<'b> !Sync for BufferImageCopy2Builder<'b>
impl<'b> Unpin for BufferImageCopy2Builder<'b>
impl<'b> UnwindSafe for BufferImageCopy2Builder<'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