pub struct CopyImageInfo2Builder<'a> { /* private fields */ }Expand description
Builder for CopyImageInfo2 with lifetime-tied pNext safety.
Implementations§
Source§impl<'a> CopyImageInfo2Builder<'a>
impl<'a> CopyImageInfo2Builder<'a>
pub fn src_image(self, value: Image) -> Self
pub fn src_image_layout(self, value: ImageLayout) -> Self
pub fn dst_image(self, value: Image) -> Self
pub fn dst_image_layout(self, value: ImageLayout) -> Self
pub fn regions(self, slice: &'a [ImageCopy2]) -> Self
Sourcepub fn push_next<T: ExtendsCopyImageInfo2>(self, next: &'a mut T) -> Self
pub fn push_next<T: ExtendsCopyImageInfo2>(self, next: &'a mut T) -> Self
Prepend a struct to the pNext chain. See CopyImageInfo2’s Extended By section for valid types.
Trait Implementations§
Source§impl<'a> Deref for CopyImageInfo2Builder<'a>
impl<'a> Deref for CopyImageInfo2Builder<'a>
Auto Trait Implementations§
impl<'a> Freeze for CopyImageInfo2Builder<'a>
impl<'a> RefUnwindSafe for CopyImageInfo2Builder<'a>
impl<'a> !Send for CopyImageInfo2Builder<'a>
impl<'a> !Sync for CopyImageInfo2Builder<'a>
impl<'a> Unpin for CopyImageInfo2Builder<'a>
impl<'a> UnsafeUnpin for CopyImageInfo2Builder<'a>
impl<'a> UnwindSafe for CopyImageInfo2Builder<'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