Struct ash::vk::MemoryBarrier2
source · #[repr(C)]pub struct MemoryBarrier2<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub src_stage_mask: PipelineStageFlags2,
pub src_access_mask: AccessFlags2,
pub dst_stage_mask: PipelineStageFlags2,
pub dst_access_mask: AccessFlags2,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§src_stage_mask: PipelineStageFlags2
§src_access_mask: AccessFlags2
§dst_stage_mask: PipelineStageFlags2
§dst_access_mask: AccessFlags2
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> MemoryBarrier2<'a>
impl<'a> MemoryBarrier2<'a>
pub fn src_stage_mask(self, src_stage_mask: PipelineStageFlags2) -> Self
pub fn src_access_mask(self, src_access_mask: AccessFlags2) -> Self
pub fn dst_stage_mask(self, dst_stage_mask: PipelineStageFlags2) -> Self
pub fn dst_access_mask(self, dst_access_mask: AccessFlags2) -> Self
Trait Implementations§
source§impl<'a> Clone for MemoryBarrier2<'a>
impl<'a> Clone for MemoryBarrier2<'a>
source§fn clone(&self) -> MemoryBarrier2<'a>
fn clone(&self) -> MemoryBarrier2<'a>
Returns a copy 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 MemoryBarrier2<'a>
impl<'a> Debug for MemoryBarrier2<'a>
source§impl Default for MemoryBarrier2<'_>
impl Default for MemoryBarrier2<'_>
source§impl<'a> TaggedStructure for MemoryBarrier2<'a>
impl<'a> TaggedStructure for MemoryBarrier2<'a>
const STRUCTURE_TYPE: StructureType = StructureType::MEMORY_BARRIER_2
impl<'a> Copy for MemoryBarrier2<'a>
impl ExtendsSubpassDependency2 for MemoryBarrier2<'_>
impl Send for MemoryBarrier2<'_>
impl Sync for MemoryBarrier2<'_>
Auto Trait Implementations§
impl<'a> Freeze for MemoryBarrier2<'a>
impl<'a> RefUnwindSafe for MemoryBarrier2<'a>
impl<'a> Unpin for MemoryBarrier2<'a>
impl<'a> UnwindSafe for MemoryBarrier2<'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