Struct pilka_lib::ash::vk::SemaphoreWaitInfoBuilder [−]
#[repr(transparent)]pub struct SemaphoreWaitInfoBuilder<'a> { /* fields omitted */ }
Implementations
impl<'a> SemaphoreWaitInfoBuilder<'a>
impl<'a> SemaphoreWaitInfoBuilder<'a>
pub fn flags(self, flags: SemaphoreWaitFlags) -> SemaphoreWaitInfoBuilder<'a>
pub fn semaphores(
self,
semaphores: &'a [Semaphore]
) -> SemaphoreWaitInfoBuilder<'a>
pub fn values(self, values: &'a [u64]) -> SemaphoreWaitInfoBuilder<'a>
pub fn build(self) -> SemaphoreWaitInfo
pub fn build(self) -> SemaphoreWaitInfo
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.
Methods from Deref<Target = SemaphoreWaitInfo>
Trait Implementations
impl<'a> Deref for SemaphoreWaitInfoBuilder<'a>
impl<'a> Deref for SemaphoreWaitInfoBuilder<'a>
type Target = SemaphoreWaitInfo
type Target = SemaphoreWaitInfo
The resulting type after dereferencing.
pub fn deref(&self) -> &<SemaphoreWaitInfoBuilder<'a> as Deref>::Target
pub fn deref(&self) -> &<SemaphoreWaitInfoBuilder<'a> as Deref>::Target
Dereferences the value.
impl<'a> DerefMut for SemaphoreWaitInfoBuilder<'a>
impl<'a> DerefMut for SemaphoreWaitInfoBuilder<'a>
pub fn deref_mut(
&mut self
) -> &mut <SemaphoreWaitInfoBuilder<'a> as Deref>::Target
pub fn deref_mut(
&mut self
) -> &mut <SemaphoreWaitInfoBuilder<'a> as Deref>::Target
Mutably dereferences the value.