#[repr(transparent)]pub struct PerformanceCounterDescriptionKHRBuilder { /* private fields */ }
Expand description
A builder for a PerformanceCounterDescriptionKHR
.
Implementations§
source§impl PerformanceCounterDescriptionKHRBuilder
impl PerformanceCounterDescriptionKHRBuilder
pub fn flags(self, flags: PerformanceCounterDescriptionFlagsKHR) -> Self
pub fn name(self, name: impl Into<StringArray<MAX_DESCRIPTION_SIZE>>) -> Self
pub fn category( self, category: impl Into<StringArray<MAX_DESCRIPTION_SIZE>> ) -> Self
pub fn description( self, description: impl Into<StringArray<MAX_DESCRIPTION_SIZE>> ) -> Self
pub fn build(self) -> PerformanceCounterDescriptionKHR
Trait Implementations§
source§impl Cast for PerformanceCounterDescriptionKHRBuilder
impl Cast for PerformanceCounterDescriptionKHRBuilder
§type Target = PerformanceCounterDescriptionKHR
type Target = PerformanceCounterDescriptionKHR
The other type this type can be used interchangeably with in FFI.
source§impl Clone for PerformanceCounterDescriptionKHRBuilder
impl Clone for PerformanceCounterDescriptionKHRBuilder
source§fn clone(&self) -> PerformanceCounterDescriptionKHRBuilder
fn clone(&self) -> PerformanceCounterDescriptionKHRBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for PerformanceCounterDescriptionKHRBuilder
impl Default for PerformanceCounterDescriptionKHRBuilder
source§fn default() -> PerformanceCounterDescriptionKHRBuilder
fn default() -> PerformanceCounterDescriptionKHRBuilder
Returns the “default value” for a type. Read more
impl Copy for PerformanceCounterDescriptionKHRBuilder
Auto Trait Implementations§
impl RefUnwindSafe for PerformanceCounterDescriptionKHRBuilder
impl !Send for PerformanceCounterDescriptionKHRBuilder
impl !Sync for PerformanceCounterDescriptionKHRBuilder
impl Unpin for PerformanceCounterDescriptionKHRBuilder
impl UnwindSafe for PerformanceCounterDescriptionKHRBuilder
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