#[repr(C)]pub struct PerformanceMetricsCounterMETA {
pub ty: StructureType,
pub next: *const c_void,
pub counter_flags: PerformanceMetricsCounterFlagsMETA,
pub counter_unit: PerformanceMetricsCounterUnitMETA,
pub uint_value: u32,
pub float_value: f32,
}
Expand description
See XrPerformanceMetricsCounterMETA - defined by XR_META_performance_metrics
Fields§
§ty: StructureType
§next: *const c_void
§counter_flags: PerformanceMetricsCounterFlagsMETA
§counter_unit: PerformanceMetricsCounterUnitMETA
§uint_value: u32
§float_value: f32
Implementations§
Source§impl PerformanceMetricsCounterMETA
impl PerformanceMetricsCounterMETA
pub const TYPE: StructureType = StructureType::PERFORMANCE_METRICS_COUNTER_META
Trait Implementations§
Source§impl Clone for PerformanceMetricsCounterMETA
impl Clone for PerformanceMetricsCounterMETA
Source§fn clone(&self) -> PerformanceMetricsCounterMETA
fn clone(&self) -> PerformanceMetricsCounterMETA
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 moreimpl Copy for PerformanceMetricsCounterMETA
Auto Trait Implementations§
impl Freeze for PerformanceMetricsCounterMETA
impl RefUnwindSafe for PerformanceMetricsCounterMETA
impl !Send for PerformanceMetricsCounterMETA
impl !Sync for PerformanceMetricsCounterMETA
impl Unpin for PerformanceMetricsCounterMETA
impl UnwindSafe for PerformanceMetricsCounterMETA
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