#[repr(C)]pub union PerformanceCounterResultKHR {
pub int32: i32,
pub int64: i64,
pub uint32: u32,
pub uint64: u64,
pub float32: f32,
pub float64: f64,
}Expand description
Native union VkPerformanceCounterResultKHR.
Fields§
§int32: i32Native field int32.
int64: i64Native field int64.
uint32: u32Native field uint32.
uint64: u64Native field uint64.
float32: f32Native field float32.
float64: f64Native field float64.
Implementations§
Source§impl PerformanceCounterResultKHR
impl PerformanceCounterResultKHR
Sourcepub fn set_uint32(self, value: u32) -> Self
pub fn set_uint32(self, value: u32) -> Self
Set native field uint32 without native effects.
Sourcepub fn set_uint64(self, value: u64) -> Self
pub fn set_uint64(self, value: u64) -> Self
Set native field uint64 without native effects.
Sourcepub fn set_float32(self, value: f32) -> Self
pub fn set_float32(self, value: f32) -> Self
Set native field float32 without native effects.
Sourcepub fn set_float64(self, value: f64) -> Self
pub fn set_float64(self, value: f64) -> Self
Set native field float64 without native effects.
Trait Implementations§
Source§impl Clone for PerformanceCounterResultKHR
impl Clone for PerformanceCounterResultKHR
impl Copy for PerformanceCounterResultKHR
Auto Trait Implementations§
impl Forget for PerformanceCounterResultKHR
impl Freeze for PerformanceCounterResultKHR
impl Move for PerformanceCounterResultKHR
impl RefUnwindSafe for PerformanceCounterResultKHR
impl Send for PerformanceCounterResultKHR
impl Sync for PerformanceCounterResultKHR
impl Unpin for PerformanceCounterResultKHR
impl UnsafeUnpin for PerformanceCounterResultKHR
impl UnwindSafe for PerformanceCounterResultKHR
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