Struct ash::vk::PerformanceCounterUnitKHR
source · #[repr(transparent)]pub struct PerformanceCounterUnitKHR(pub(crate) i32);
Expand description
Tuple Fields§
§0: i32
Implementations§
source§impl PerformanceCounterUnitKHR
impl PerformanceCounterUnitKHR
pub const GENERIC: Self = _
pub const PERCENTAGE: Self = _
pub const NANOSECONDS: Self = _
pub const BYTES: Self = _
pub const BYTES_PER_SECOND: Self = _
pub const KELVIN: Self = _
pub const WATTS: Self = _
pub const VOLTS: Self = _
pub const AMPS: Self = _
pub const HERTZ: Self = _
pub const CYCLES: Self = _
Trait Implementations§
source§impl Clone for PerformanceCounterUnitKHR
impl Clone for PerformanceCounterUnitKHR
source§fn clone(&self) -> PerformanceCounterUnitKHR
fn clone(&self) -> PerformanceCounterUnitKHR
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 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)