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