pub struct HostImageLayoutTransitionInfoEXTBuilder { /* private fields */ }
Expand description
A builder for a HostImageLayoutTransitionInfoEXT
.
Implementations§
source§impl HostImageLayoutTransitionInfoEXTBuilder
impl HostImageLayoutTransitionInfoEXTBuilder
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) -> HostImageLayoutTransitionInfoEXT
Trait Implementations§
source§impl Cast for HostImageLayoutTransitionInfoEXTBuilder
impl Cast for HostImageLayoutTransitionInfoEXTBuilder
§type Target = HostImageLayoutTransitionInfoEXT
type Target = HostImageLayoutTransitionInfoEXT
The other type this type can be used interchangeably with in FFI.
source§impl Clone for HostImageLayoutTransitionInfoEXTBuilder
impl Clone for HostImageLayoutTransitionInfoEXTBuilder
source§fn clone(&self) -> HostImageLayoutTransitionInfoEXTBuilder
fn clone(&self) -> HostImageLayoutTransitionInfoEXTBuilder
Returns a copy 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 HostImageLayoutTransitionInfoEXTBuilder
impl Default for HostImageLayoutTransitionInfoEXTBuilder
source§fn default() -> HostImageLayoutTransitionInfoEXTBuilder
fn default() -> HostImageLayoutTransitionInfoEXTBuilder
Returns the “default value” for a type. Read more
impl Copy for HostImageLayoutTransitionInfoEXTBuilder
Auto Trait Implementations§
impl Freeze for HostImageLayoutTransitionInfoEXTBuilder
impl RefUnwindSafe for HostImageLayoutTransitionInfoEXTBuilder
impl !Send for HostImageLayoutTransitionInfoEXTBuilder
impl !Sync for HostImageLayoutTransitionInfoEXTBuilder
impl Unpin for HostImageLayoutTransitionInfoEXTBuilder
impl UnwindSafe for HostImageLayoutTransitionInfoEXTBuilder
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