Struct ash::vk::MemoryBarrierBuilder
source · pub struct MemoryBarrierBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> MemoryBarrierBuilder<'a>
impl<'a> MemoryBarrierBuilder<'a>
pub fn src_access_mask(self, src_access_mask: AccessFlags) -> Self
pub fn dst_access_mask(self, dst_access_mask: AccessFlags) -> Self
sourcepub fn build(self) -> MemoryBarrier
pub fn build(self) -> MemoryBarrier
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
source§impl<'a> Deref for MemoryBarrierBuilder<'a>
impl<'a> Deref for MemoryBarrierBuilder<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for MemoryBarrierBuilder<'a>
impl<'a> !Send for MemoryBarrierBuilder<'a>
impl<'a> !Sync for MemoryBarrierBuilder<'a>
impl<'a> Unpin for MemoryBarrierBuilder<'a>
impl<'a> UnwindSafe for MemoryBarrierBuilder<'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