Union screen_13::prelude::vk::PerformanceCounterResultKHR
source · #[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
Fields§
§int32: i32
§int64: i64
§uint32: u32
§uint64: u64
§float32: f32
§float64: f64
Trait Implementations§
source§impl Clone for PerformanceCounterResultKHR
impl Clone for PerformanceCounterResultKHR
source§fn clone(&self) -> PerformanceCounterResultKHR
fn clone(&self) -> PerformanceCounterResultKHR
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 PerformanceCounterResultKHR
impl Default for PerformanceCounterResultKHR
source§fn default() -> PerformanceCounterResultKHR
fn default() -> PerformanceCounterResultKHR
Returns the “default value” for a type. Read more
impl Copy for PerformanceCounterResultKHR
Auto Trait Implementations§
impl RefUnwindSafe for PerformanceCounterResultKHR
impl Send for PerformanceCounterResultKHR
impl Sync for PerformanceCounterResultKHR
impl Unpin 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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.