Struct ash::vk::PerformanceCounterKHRBuilder
source · [−]#[repr(transparent)]pub struct PerformanceCounterKHRBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'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
sourceimpl<'a> Deref for PerformanceCounterKHRBuilder<'a>
impl<'a> Deref for PerformanceCounterKHRBuilder<'a>
type Target = PerformanceCounterKHR
type Target = PerformanceCounterKHR
The resulting type after dereferencing.
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more