#[repr(C)]pub struct VkMemoryBarrier {
pub sType: VkStructureType,
pub pNext: *const void,
pub srcAccessMask: VkAccessFlags,
pub dstAccessMask: VkAccessFlags,
}Expand description
VkMemoryBarrier
Fields§
§sType: VkStructureType§pNext: *const void§srcAccessMask: VkAccessFlagsMemory accesses from the source of the dependency to synchronize
dstAccessMask: VkAccessFlagsMemory accesses from the destination of the dependency to synchronize
Implementations§
Trait Implementations§
Source§impl Chainable for VkMemoryBarrier
impl Chainable for VkMemoryBarrier
Source§const TYPE: VkStructureType = VK_STRUCTURE_TYPE_MEMORY_BARRIER
const TYPE: VkStructureType = VK_STRUCTURE_TYPE_MEMORY_BARRIER
The value of
sType fieldSource§fn p_next_mut(&mut self) -> &mut *mut c_void
fn p_next_mut(&mut self) -> &mut *mut c_void
The mutable reference of
pNext fieldSource§unsafe fn push_next<E: Extend<Self>>(&mut self, ex: &mut E) -> &mut Self
unsafe fn push_next<E: Extend<Self>>(&mut self, ex: &mut E) -> &mut Self
Push the next struct to the chain
Source§unsafe fn next(&self) -> Option<&VkBaseInStructure>
unsafe fn next(&self) -> Option<&VkBaseInStructure>
Get the next struct in the chain
Source§unsafe fn next_mut(&mut self) -> Option<&mut VkBaseOutStructure>
unsafe fn next_mut(&mut self) -> Option<&mut VkBaseOutStructure>
Get the next struct in the chain
Source§unsafe fn upcast(&self) -> &VkBaseInStructure
unsafe fn upcast(&self) -> &VkBaseInStructure
Upcast the struct to
VkBaseInStructureSource§unsafe fn upcast_mut(&mut self) -> &mut VkBaseOutStructure
unsafe fn upcast_mut(&mut self) -> &mut VkBaseOutStructure
Upcast the struct to
VkBaseOutStructureSource§impl Clone for VkMemoryBarrier
impl Clone for VkMemoryBarrier
Source§fn clone(&self) -> VkMemoryBarrier
fn clone(&self) -> VkMemoryBarrier
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 VkMemoryBarrier
impl Debug for VkMemoryBarrier
Source§impl Default for VkMemoryBarrier
impl Default for VkMemoryBarrier
impl Copy for VkMemoryBarrier
Auto Trait Implementations§
impl Freeze for VkMemoryBarrier
impl RefUnwindSafe for VkMemoryBarrier
impl !Send for VkMemoryBarrier
impl !Sync for VkMemoryBarrier
impl Unpin for VkMemoryBarrier
impl UnsafeUnpin for VkMemoryBarrier
impl UnwindSafe for VkMemoryBarrier
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