#[repr(transparent)]pub struct PerformanceCounterUnitKHR(pub i32);Expand description
Vulkan Manual Page · Enum
Tuple Fields§
§0: i32Implementations§
Source§impl PerformanceCounterUnitKHR
Provided by crate::extensions::khr_performance_query
impl PerformanceCounterUnitKHR
Provided by crate::extensions::khr_performance_query
pub const GENERIC_KHR: Self
pub const PERCENTAGE_KHR: Self
pub const NANOSECONDS_KHR: Self
pub const BYTES_KHR: Self
pub const BYTES_PER_SECOND_KHR: Self
pub const KELVIN_KHR: Self
pub const WATTS_KHR: Self
pub const VOLTS_KHR: Self
pub const AMPS_KHR: Self
pub const HERTZ_KHR: Self
pub const CYCLES_KHR: Self
Trait Implementations§
Source§impl Clone for PerformanceCounterUnitKHR
impl Clone for PerformanceCounterUnitKHR
Source§fn clone(&self) -> PerformanceCounterUnitKHR
fn clone(&self) -> PerformanceCounterUnitKHR
Returns a duplicate 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 Debug for PerformanceCounterUnitKHR
impl Debug for PerformanceCounterUnitKHR
Source§impl Default for PerformanceCounterUnitKHR
impl Default for PerformanceCounterUnitKHR
Source§fn default() -> PerformanceCounterUnitKHR
fn default() -> PerformanceCounterUnitKHR
Returns the “default value” for a type. Read more
Source§impl Hash for PerformanceCounterUnitKHR
impl Hash for PerformanceCounterUnitKHR
Source§impl Ord for PerformanceCounterUnitKHR
impl Ord for PerformanceCounterUnitKHR
Source§fn cmp(&self, other: &PerformanceCounterUnitKHR) -> Ordering
fn cmp(&self, other: &PerformanceCounterUnitKHR) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for PerformanceCounterUnitKHR
impl PartialOrd for PerformanceCounterUnitKHR
impl Copy for PerformanceCounterUnitKHR
impl Eq for PerformanceCounterUnitKHR
impl StructuralPartialEq for PerformanceCounterUnitKHR
Auto Trait Implementations§
impl Freeze for PerformanceCounterUnitKHR
impl RefUnwindSafe for PerformanceCounterUnitKHR
impl Send for PerformanceCounterUnitKHR
impl Sync for PerformanceCounterUnitKHR
impl Unpin for PerformanceCounterUnitKHR
impl UnwindSafe for PerformanceCounterUnitKHR
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