Struct ash::vk::DependencyInfoKHRBuilder
source · [−]#[repr(transparent)]pub struct DependencyInfoKHRBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'a> DependencyInfoKHRBuilder<'a>
impl<'a> DependencyInfoKHRBuilder<'a>
pub fn dependency_flags(self, dependency_flags: DependencyFlags) -> Self
pub fn memory_barriers(self, memory_barriers: &'a [MemoryBarrier2KHR]) -> Self
pub fn buffer_memory_barriers(
self,
buffer_memory_barriers: &'a [BufferMemoryBarrier2KHR]
) -> Self
pub fn image_memory_barriers(
self,
image_memory_barriers: &'a [ImageMemoryBarrier2KHR]
) -> Self
sourcepub fn build(self) -> DependencyInfoKHR
pub fn build(self) -> DependencyInfoKHR
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
sourceimpl<'a> Deref for DependencyInfoKHRBuilder<'a>
impl<'a> Deref for DependencyInfoKHRBuilder<'a>
type Target = DependencyInfoKHR
type Target = DependencyInfoKHR
The resulting type after dereferencing.
Auto Trait Implementations
impl<'a> RefUnwindSafe for DependencyInfoKHRBuilder<'a>
impl<'a> !Send for DependencyInfoKHRBuilder<'a>
impl<'a> !Sync for DependencyInfoKHRBuilder<'a>
impl<'a> Unpin for DependencyInfoKHRBuilder<'a>
impl<'a> UnwindSafe for DependencyInfoKHRBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more