Struct ash::vk::SemaphoreTypeCreateInfoBuilder
source · pub struct SemaphoreTypeCreateInfoBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> SemaphoreTypeCreateInfoBuilder<'a>
impl<'a> SemaphoreTypeCreateInfoBuilder<'a>
pub fn semaphore_type(self, semaphore_type: SemaphoreType) -> Self
pub fn initial_value(self, initial_value: u64) -> Self
sourcepub fn build(self) -> SemaphoreTypeCreateInfo
pub fn build(self) -> SemaphoreTypeCreateInfo
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 SemaphoreTypeCreateInfoBuilder<'a>
impl<'a> Deref for SemaphoreTypeCreateInfoBuilder<'a>
source§impl<'a> DerefMut for SemaphoreTypeCreateInfoBuilder<'a>
impl<'a> DerefMut for SemaphoreTypeCreateInfoBuilder<'a>
impl ExtendsPhysicalDeviceExternalSemaphoreInfo for SemaphoreTypeCreateInfoBuilder<'_>
impl ExtendsSemaphoreCreateInfo for SemaphoreTypeCreateInfoBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for SemaphoreTypeCreateInfoBuilder<'a>
impl<'a> RefUnwindSafe for SemaphoreTypeCreateInfoBuilder<'a>
impl<'a> !Send for SemaphoreTypeCreateInfoBuilder<'a>
impl<'a> !Sync for SemaphoreTypeCreateInfoBuilder<'a>
impl<'a> Unpin for SemaphoreTypeCreateInfoBuilder<'a>
impl<'a> UnwindSafe for SemaphoreTypeCreateInfoBuilder<'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