Struct ash::vk::PerformanceCounterKHRBuilder
source · 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