#[repr(transparent)]pub struct PhysicalDeviceTimelineSemaphorePropertiesBuilder<'a> { /* private fields */ }Implementations
sourceimpl<'a> PhysicalDeviceTimelineSemaphorePropertiesBuilder<'a>
impl<'a> PhysicalDeviceTimelineSemaphorePropertiesBuilder<'a>
pub fn max_timeline_semaphore_value_difference(
self,
max_timeline_semaphore_value_difference: u64
) -> PhysicalDeviceTimelineSemaphorePropertiesBuilder<'a>
sourcepub fn build(self) -> PhysicalDeviceTimelineSemaphoreProperties
pub fn build(self) -> PhysicalDeviceTimelineSemaphoreProperties
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 PhysicalDeviceTimelineSemaphorePropertiesBuilder<'a>
impl<'a> Deref for PhysicalDeviceTimelineSemaphorePropertiesBuilder<'a>
type Target = PhysicalDeviceTimelineSemaphoreProperties
type Target = PhysicalDeviceTimelineSemaphoreProperties
The resulting type after dereferencing.
sourcefn deref(
&self
) -> &<PhysicalDeviceTimelineSemaphorePropertiesBuilder<'a> as Deref>::Target
fn deref(
&self
) -> &<PhysicalDeviceTimelineSemaphorePropertiesBuilder<'a> as Deref>::Target
Dereferences the value.
sourceimpl<'a> DerefMut for PhysicalDeviceTimelineSemaphorePropertiesBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceTimelineSemaphorePropertiesBuilder<'a>
sourcefn deref_mut(
&mut self
) -> &mut <PhysicalDeviceTimelineSemaphorePropertiesBuilder<'a> as Deref>::Target
fn deref_mut(
&mut self
) -> &mut <PhysicalDeviceTimelineSemaphorePropertiesBuilder<'a> as Deref>::Target
Mutably dereferences the value.
impl<'_> ExtendsPhysicalDeviceProperties2 for PhysicalDeviceTimelineSemaphorePropertiesBuilder<'_>
Auto Trait Implementations
impl<'a> RefUnwindSafe for PhysicalDeviceTimelineSemaphorePropertiesBuilder<'a>
impl<'a> !Send for PhysicalDeviceTimelineSemaphorePropertiesBuilder<'a>
impl<'a> !Sync for PhysicalDeviceTimelineSemaphorePropertiesBuilder<'a>
impl<'a> Unpin for PhysicalDeviceTimelineSemaphorePropertiesBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceTimelineSemaphorePropertiesBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more