Struct ash::vk::PerformanceCounterDescriptionKHRBuilder
source · pub struct PerformanceCounterDescriptionKHRBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> PerformanceCounterDescriptionKHRBuilder<'a>
impl<'a> PerformanceCounterDescriptionKHRBuilder<'a>
pub fn flags(self, flags: PerformanceCounterDescriptionFlagsKHR) -> Self
pub fn name(self, name: [c_char; 256]) -> Self
pub fn category(self, category: [c_char; 256]) -> Self
pub fn description(self, description: [c_char; 256]) -> Self
sourcepub fn build(self) -> PerformanceCounterDescriptionKHR
pub fn build(self) -> PerformanceCounterDescriptionKHR
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 PerformanceCounterDescriptionKHRBuilder<'a>
impl<'a> Deref for PerformanceCounterDescriptionKHRBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for PerformanceCounterDescriptionKHRBuilder<'a>
impl<'a> RefUnwindSafe for PerformanceCounterDescriptionKHRBuilder<'a>
impl<'a> !Send for PerformanceCounterDescriptionKHRBuilder<'a>
impl<'a> !Sync for PerformanceCounterDescriptionKHRBuilder<'a>
impl<'a> Unpin for PerformanceCounterDescriptionKHRBuilder<'a>
impl<'a> UnwindSafe for PerformanceCounterDescriptionKHRBuilder<'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