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