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> Freeze for MemoryBarrierBuilder<'a>
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