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