#[repr(C)]pub struct HostImageLayoutTransitionInfo {
pub s_type: StructureType,
pub p_next: *const c_void,
pub image: Image,
pub old_layout: ImageLayout,
pub new_layout: ImageLayout,
pub subresource_range: ImageSubresourceRange,
}Expand description
VkHostImageLayoutTransitionInfo
Provided by VK_BASE_VERSION_1_4.
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_HOST_IMAGE_LAYOUT_TRANSITION_INFO.
p_next: *const c_voidOptional, may be null.
image: Image§old_layout: ImageLayout§new_layout: ImageLayout§subresource_range: ImageSubresourceRangeImplementations§
Source§impl HostImageLayoutTransitionInfo
impl HostImageLayoutTransitionInfo
Sourcepub fn builder<'a>() -> HostImageLayoutTransitionInfoBuilder<'a>
pub fn builder<'a>() -> HostImageLayoutTransitionInfoBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for HostImageLayoutTransitionInfo
impl Clone for HostImageLayoutTransitionInfo
Source§fn clone(&self) -> HostImageLayoutTransitionInfo
fn clone(&self) -> HostImageLayoutTransitionInfo
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 HostImageLayoutTransitionInfo
impl Default for HostImageLayoutTransitionInfo
Source§fn default() -> HostImageLayoutTransitionInfo
fn default() -> HostImageLayoutTransitionInfo
Returns the “default value” for a type. Read more
impl Copy for HostImageLayoutTransitionInfo
Auto Trait Implementations§
impl Freeze for HostImageLayoutTransitionInfo
impl RefUnwindSafe for HostImageLayoutTransitionInfo
impl !Send for HostImageLayoutTransitionInfo
impl !Sync for HostImageLayoutTransitionInfo
impl Unpin for HostImageLayoutTransitionInfo
impl UnsafeUnpin for HostImageLayoutTransitionInfo
impl UnwindSafe for HostImageLayoutTransitionInfo
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