pub struct BufferCopyBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> BufferCopyBuilder<'a>
impl<'a> BufferCopyBuilder<'a>
pub fn src_offset(self, src_offset: DeviceSize) -> Self
pub fn dst_offset(self, dst_offset: DeviceSize) -> Self
pub fn size(self, size: DeviceSize) -> Self
Sourcepub fn build(self) -> BufferCopy
pub fn build(self) -> BufferCopy
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 BufferCopyBuilder<'a>
impl<'a> Deref for BufferCopyBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for BufferCopyBuilder<'a>
impl<'a> RefUnwindSafe for BufferCopyBuilder<'a>
impl<'a> Send for BufferCopyBuilder<'a>
impl<'a> Sync for BufferCopyBuilder<'a>
impl<'a> Unpin for BufferCopyBuilder<'a>
impl<'a> UnwindSafe for BufferCopyBuilder<'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