pub struct PerformanceCounterKHRBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> PerformanceCounterKHRBuilder<'a>
impl<'a> PerformanceCounterKHRBuilder<'a>
pub fn unit(self, unit: PerformanceCounterUnitKHR) -> Self
pub fn scope(self, scope: PerformanceCounterScopeKHR) -> Self
pub fn storage(self, storage: PerformanceCounterStorageKHR) -> Self
pub fn uuid(self, uuid: [u8; 16]) -> Self
Sourcepub fn build(self) -> PerformanceCounterKHR
pub fn build(self) -> PerformanceCounterKHR
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 PerformanceCounterKHRBuilder<'a>
impl<'a> Deref for PerformanceCounterKHRBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for PerformanceCounterKHRBuilder<'a>
impl<'a> RefUnwindSafe for PerformanceCounterKHRBuilder<'a>
impl<'a> !Send for PerformanceCounterKHRBuilder<'a>
impl<'a> !Sync for PerformanceCounterKHRBuilder<'a>
impl<'a> Unpin for PerformanceCounterKHRBuilder<'a>
impl<'a> UnwindSafe for PerformanceCounterKHRBuilder<'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