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