#[repr(C)]pub struct VkImageMemoryBarrier {
pub sType: VkStructureType,
pub pNext: *const c_void,
pub srcAccessMask: VkAccessFlags,
pub dstAccessMask: VkAccessFlags,
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§srcAccessMask: VkAccessFlags§dstAccessMask: VkAccessFlags§oldLayout: VkImageLayout§newLayout: VkImageLayout§srcQueueFamilyIndex: u32§dstQueueFamilyIndex: u32§image: VkImage§subresourceRange: VkImageSubresourceRangeTrait Implementations§
Source§impl Clone for VkImageMemoryBarrier
impl Clone for VkImageMemoryBarrier
Source§fn clone(&self) -> VkImageMemoryBarrier
fn clone(&self) -> VkImageMemoryBarrier
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 VkImageMemoryBarrier
impl Debug for VkImageMemoryBarrier
Source§impl TypedVulkanStructure for VkImageMemoryBarrier
impl TypedVulkanStructure for VkImageMemoryBarrier
Source§const TYPE: VkStructureType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER
const TYPE: VkStructureType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER
sType of this structure
Source§fn try_from_generic(g: &GenericVulkanStructure) -> Option<&Self>where
Self: Sized,
fn try_from_generic(g: &GenericVulkanStructure) -> Option<&Self>where
Self: Sized,
Cast structure ref only if sType matches
Source§impl VulkanStructure for VkImageMemoryBarrier
impl VulkanStructure for VkImageMemoryBarrier
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 VkImageMemoryBarrier
impl RefUnwindSafe for VkImageMemoryBarrier
impl !Send for VkImageMemoryBarrier
impl !Sync for VkImageMemoryBarrier
impl Unpin for VkImageMemoryBarrier
impl UnsafeUnpin for VkImageMemoryBarrier
impl UnwindSafe for VkImageMemoryBarrier
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