pub struct HostImageLayoutTransitionInfoBuilder { /* private fields */ }Expand description
A builder for a HostImageLayoutTransitionInfo.
Implementations§
Source§impl HostImageLayoutTransitionInfoBuilder
impl HostImageLayoutTransitionInfoBuilder
pub fn image(self, image: Image) -> Self
pub fn old_layout(self, old_layout: ImageLayout) -> Self
pub fn new_layout(self, new_layout: ImageLayout) -> Self
pub fn subresource_range( self, subresource_range: impl Cast<Target = ImageSubresourceRange>, ) -> Self
pub fn build(self) -> HostImageLayoutTransitionInfo
Trait Implementations§
Source§impl Cast for HostImageLayoutTransitionInfoBuilder
impl Cast for HostImageLayoutTransitionInfoBuilder
Source§type Target = HostImageLayoutTransitionInfo
type Target = HostImageLayoutTransitionInfo
The other type this type can be used interchangeably with in FFI.
Source§impl Clone for HostImageLayoutTransitionInfoBuilder
impl Clone for HostImageLayoutTransitionInfoBuilder
Source§fn clone(&self) -> HostImageLayoutTransitionInfoBuilder
fn clone(&self) -> HostImageLayoutTransitionInfoBuilder
Returns a duplicate 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 Default for HostImageLayoutTransitionInfoBuilder
impl Default for HostImageLayoutTransitionInfoBuilder
Source§fn default() -> HostImageLayoutTransitionInfoBuilder
fn default() -> HostImageLayoutTransitionInfoBuilder
Returns the “default value” for a type. Read more
impl Copy for HostImageLayoutTransitionInfoBuilder
Auto Trait Implementations§
impl Freeze for HostImageLayoutTransitionInfoBuilder
impl RefUnwindSafe for HostImageLayoutTransitionInfoBuilder
impl Send for HostImageLayoutTransitionInfoBuilder
impl Sync for HostImageLayoutTransitionInfoBuilder
impl Unpin for HostImageLayoutTransitionInfoBuilder
impl UnwindSafe for HostImageLayoutTransitionInfoBuilder
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