#[repr(C, packed(1))]pub struct CounterResultTimestamp {
pub timestamp: u64,
}Expand description
Timestamp counter result.
C++ equivalent: MTL::CounterResultTimestamp
Fields§
§timestamp: u64The GPU timestamp value.
Trait Implementations§
Source§impl Clone for CounterResultTimestamp
impl Clone for CounterResultTimestamp
Source§fn clone(&self) -> CounterResultTimestamp
fn clone(&self) -> CounterResultTimestamp
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 CounterResultTimestamp
impl Debug for CounterResultTimestamp
Source§impl Default for CounterResultTimestamp
impl Default for CounterResultTimestamp
Source§fn default() -> CounterResultTimestamp
fn default() -> CounterResultTimestamp
Returns the “default value” for a type. Read more
Source§impl PartialEq for CounterResultTimestamp
impl PartialEq for CounterResultTimestamp
impl Copy for CounterResultTimestamp
impl Eq for CounterResultTimestamp
impl StructuralPartialEq for CounterResultTimestamp
Auto Trait Implementations§
impl Freeze for CounterResultTimestamp
impl RefUnwindSafe for CounterResultTimestamp
impl Send for CounterResultTimestamp
impl Sync for CounterResultTimestamp
impl Unpin for CounterResultTimestamp
impl UnwindSafe for CounterResultTimestamp
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