#[repr(C)]pub struct VkImageMemoryBarrier2KHR {
pub sType: VkStructureType,
pub pNext: *const c_void,
pub srcStageMask: VkPipelineStageFlags2KHR,
pub srcAccessMask: VkAccessFlags2KHR,
pub dstStageMask: VkPipelineStageFlags2KHR,
pub dstAccessMask: VkAccessFlags2KHR,
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: VkPipelineStageFlags2KHR§srcAccessMask: VkAccessFlags2KHR§dstStageMask: VkPipelineStageFlags2KHR§dstAccessMask: VkAccessFlags2KHR§oldLayout: VkImageLayout§newLayout: VkImageLayout§srcQueueFamilyIndex: u32§dstQueueFamilyIndex: u32§image: VkImage§subresourceRange: VkImageSubresourceRangeTrait Implementations§
Source§impl Clone for VkImageMemoryBarrier2KHR
impl Clone for VkImageMemoryBarrier2KHR
Source§fn clone(&self) -> VkImageMemoryBarrier2KHR
fn clone(&self) -> VkImageMemoryBarrier2KHR
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 Debug for VkImageMemoryBarrier2KHR
impl Debug for VkImageMemoryBarrier2KHR
Source§impl TypedVulkanStructure for VkImageMemoryBarrier2KHR
impl TypedVulkanStructure for VkImageMemoryBarrier2KHR
Source§const TYPE: VkStructureType = 1_000_314_002i32
const TYPE: VkStructureType = 1_000_314_002i32
sType of this structure
Source§fn try_from_generic(g: &GenericVulkanStructure) -> Option<&Self>
fn try_from_generic(g: &GenericVulkanStructure) -> Option<&Self>
Cast structure ref only if sType matches
Source§impl VulkanStructure for VkImageMemoryBarrier2KHR
impl VulkanStructure for VkImageMemoryBarrier2KHR
Source§fn as_generic(&self) -> &GenericVulkanStructure
fn as_generic(&self) -> &GenericVulkanStructure
Cast structure ref to generic. This is same as transmute but must be safe.
Source§fn as_generic_mut(&mut self) -> &mut GenericVulkanStructure
fn as_generic_mut(&mut self) -> &mut GenericVulkanStructure
Cast structure mutable ref to generic. This is same as transmute but must be safe.
Auto Trait Implementations§
impl Freeze for VkImageMemoryBarrier2KHR
impl RefUnwindSafe for VkImageMemoryBarrier2KHR
impl !Send for VkImageMemoryBarrier2KHR
impl !Sync for VkImageMemoryBarrier2KHR
impl Unpin for VkImageMemoryBarrier2KHR
impl UnwindSafe for VkImageMemoryBarrier2KHR
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<S> StructureChainQuery for Swhere
S: TypedVulkanStructure,
impl<S> StructureChainQuery for Swhere
S: TypedVulkanStructure,
Source§fn iter_chain(&self) -> StructureChainIterator<'_> ⓘ
fn iter_chain(&self) -> StructureChainIterator<'_> ⓘ
Iterate pNext chain