#[repr(C)]pub struct VkImageMemoryBarrier2 {
pub sType: VkStructureType,
pub pNext: *const c_void,
pub srcStageMask: VkPipelineStageFlags2,
pub srcAccessMask: VkAccessFlags2,
pub dstStageMask: VkPipelineStageFlags2,
pub dstAccessMask: VkAccessFlags2,
pub oldLayout: VkImageLayout,
pub newLayout: VkImageLayout,
pub srcQueueFamilyIndex: u32,
pub dstQueueFamilyIndex: u32,
pub image: VkImage,
pub subresourceRange: VkImageSubresourceRange,
}
Fields§
§sType: VkStructureType
§pNext: *const c_void
§srcStageMask: VkPipelineStageFlags2
§srcAccessMask: VkAccessFlags2
§dstStageMask: VkPipelineStageFlags2
§dstAccessMask: VkAccessFlags2
§oldLayout: VkImageLayout
§newLayout: VkImageLayout
§srcQueueFamilyIndex: u32
§dstQueueFamilyIndex: u32
§image: VkImage
§subresourceRange: VkImageSubresourceRange
Trait Implementations§
Source§impl Clone for VkImageMemoryBarrier2
impl Clone for VkImageMemoryBarrier2
Source§fn clone(&self) -> VkImageMemoryBarrier2
fn clone(&self) -> VkImageMemoryBarrier2
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for VkImageMemoryBarrier2
impl Default for VkImageMemoryBarrier2
impl Copy for VkImageMemoryBarrier2
Auto Trait Implementations§
impl Freeze for VkImageMemoryBarrier2
impl RefUnwindSafe for VkImageMemoryBarrier2
impl !Send for VkImageMemoryBarrier2
impl !Sync for VkImageMemoryBarrier2
impl Unpin for VkImageMemoryBarrier2
impl UnwindSafe for VkImageMemoryBarrier2
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