#[repr(transparent)]pub struct PhysicalDeviceTimelineSemaphoreFeaturesBuilder<'a> { /* private fields */ }Implementations
sourceimpl<'a> PhysicalDeviceTimelineSemaphoreFeaturesBuilder<'a>
impl<'a> PhysicalDeviceTimelineSemaphoreFeaturesBuilder<'a>
pub fn timeline_semaphore(
self,
timeline_semaphore: bool
) -> PhysicalDeviceTimelineSemaphoreFeaturesBuilder<'a>
sourcepub fn build(self) -> PhysicalDeviceTimelineSemaphoreFeatures
pub fn build(self) -> PhysicalDeviceTimelineSemaphoreFeatures
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 PhysicalDeviceTimelineSemaphoreFeaturesBuilder<'a>
impl<'a> Deref for PhysicalDeviceTimelineSemaphoreFeaturesBuilder<'a>
type Target = PhysicalDeviceTimelineSemaphoreFeatures
type Target = PhysicalDeviceTimelineSemaphoreFeatures
The resulting type after dereferencing.
sourcefn deref(
&self
) -> &<PhysicalDeviceTimelineSemaphoreFeaturesBuilder<'a> as Deref>::Target
fn deref(
&self
) -> &<PhysicalDeviceTimelineSemaphoreFeaturesBuilder<'a> as Deref>::Target
Dereferences the value.
sourceimpl<'a> DerefMut for PhysicalDeviceTimelineSemaphoreFeaturesBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceTimelineSemaphoreFeaturesBuilder<'a>
sourcefn deref_mut(
&mut self
) -> &mut <PhysicalDeviceTimelineSemaphoreFeaturesBuilder<'a> as Deref>::Target
fn deref_mut(
&mut self
) -> &mut <PhysicalDeviceTimelineSemaphoreFeaturesBuilder<'a> as Deref>::Target
Mutably dereferences the value.
impl<'_> ExtendsDeviceCreateInfo for PhysicalDeviceTimelineSemaphoreFeaturesBuilder<'_>
impl<'_> ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceTimelineSemaphoreFeaturesBuilder<'_>
Auto Trait Implementations
impl<'a> RefUnwindSafe for PhysicalDeviceTimelineSemaphoreFeaturesBuilder<'a>
impl<'a> !Send for PhysicalDeviceTimelineSemaphoreFeaturesBuilder<'a>
impl<'a> !Sync for PhysicalDeviceTimelineSemaphoreFeaturesBuilder<'a>
impl<'a> Unpin for PhysicalDeviceTimelineSemaphoreFeaturesBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceTimelineSemaphoreFeaturesBuilder<'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