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) -> HostImageLayoutTransitionInfoBuilder<'a>
pub fn old_layout( self, value: ImageLayout, ) -> HostImageLayoutTransitionInfoBuilder<'a>
pub fn new_layout( self, value: ImageLayout, ) -> HostImageLayoutTransitionInfoBuilder<'a>
pub fn subresource_range( self, value: ImageSubresourceRange, ) -> HostImageLayoutTransitionInfoBuilder<'a>
Sourcepub fn push_next<T>(
self,
next: &'a mut T,
) -> HostImageLayoutTransitionInfoBuilder<'a>where
T: ExtendsHostImageLayoutTransitionInfo,
pub fn push_next<T>(
self,
next: &'a mut T,
) -> HostImageLayoutTransitionInfoBuilder<'a>where
T: ExtendsHostImageLayoutTransitionInfo,
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>
Source§type Target = HostImageLayoutTransitionInfo
type Target = HostImageLayoutTransitionInfo
The resulting type after dereferencing.
Source§impl<'a> DerefMut for HostImageLayoutTransitionInfoBuilder<'a>
impl<'a> DerefMut 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