pub struct HostImageLayoutTransitionInfoBuilder<'a> { /* private fields */ }Expand description
Builder for HostImageLayoutTransitionInfo with lifetime-tied pNext safety.
Implementations§
Source§impl<'a> HostImageLayoutTransitionInfoBuilder<'a>
impl<'a> HostImageLayoutTransitionInfoBuilder<'a>
pub fn image(self, value: Image) -> Self
pub fn old_layout(self, value: ImageLayout) -> Self
pub fn new_layout(self, value: ImageLayout) -> Self
pub fn subresource_range(self, value: ImageSubresourceRange) -> Self
Sourcepub fn push_next<T: ExtendsHostImageLayoutTransitionInfo>(
self,
next: &'a mut T,
) -> Self
pub fn push_next<T: ExtendsHostImageLayoutTransitionInfo>( self, next: &'a mut T, ) -> Self
Prepend a struct to the pNext chain. See HostImageLayoutTransitionInfo’s Extended By section for valid types.
Trait Implementations§
Source§impl<'a> Deref for HostImageLayoutTransitionInfoBuilder<'a>
impl<'a> Deref for HostImageLayoutTransitionInfoBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for HostImageLayoutTransitionInfoBuilder<'a>
impl<'a> RefUnwindSafe for HostImageLayoutTransitionInfoBuilder<'a>
impl<'a> !Send for HostImageLayoutTransitionInfoBuilder<'a>
impl<'a> !Sync for HostImageLayoutTransitionInfoBuilder<'a>
impl<'a> Unpin for HostImageLayoutTransitionInfoBuilder<'a>
impl<'a> UnsafeUnpin for HostImageLayoutTransitionInfoBuilder<'a>
impl<'a> UnwindSafe for HostImageLayoutTransitionInfoBuilder<'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