pub struct MemoryBarrier {
pub src_stages: PipelineStages,
pub src_access: AccessFlags,
pub dst_stages: PipelineStages,
pub dst_access: AccessFlags,
pub _ne: NonExhaustive,
}Expand description
A memory barrier that is applied globally.
Fields§
§src_stages: PipelineStagesThe pipeline stages in the source scope to wait for.
The default value is PipelineStages::empty().
src_access: AccessFlagsThe memory accesses in the source scope to make available and visible.
The default value is AccessFlags::empty().
dst_stages: PipelineStagesThe pipeline stages in the destination scope that must wait for src_stages.
The default value is PipelineStages::empty().
dst_access: AccessFlagsThe memory accesses in the destination scope that must wait for src_access to be made
available and visible.
_ne: NonExhaustiveTrait Implementations§
Source§impl Clone for MemoryBarrier
impl Clone for MemoryBarrier
Source§fn clone(&self) -> MemoryBarrier
fn clone(&self) -> MemoryBarrier
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 MemoryBarrier
impl Debug for MemoryBarrier
Auto Trait Implementations§
impl Freeze for MemoryBarrier
impl RefUnwindSafe for MemoryBarrier
impl Send for MemoryBarrier
impl Sync for MemoryBarrier
impl Unpin for MemoryBarrier
impl UnsafeUnpin for MemoryBarrier
impl UnwindSafe for MemoryBarrier
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