Struct objc2_metal::MTLCounterResultTimestamp
source · #[repr(C)]pub struct MTLCounterResultTimestamp {
pub timestamp: u64,
}Available on crate feature
MTLCounters only.Fields§
§timestamp: u64Trait Implementations§
source§impl Clone for MTLCounterResultTimestamp
impl Clone for MTLCounterResultTimestamp
source§fn clone(&self) -> MTLCounterResultTimestamp
fn clone(&self) -> MTLCounterResultTimestamp
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 MTLCounterResultTimestamp
impl Debug for MTLCounterResultTimestamp
source§impl Encode for MTLCounterResultTimestamp
impl Encode for MTLCounterResultTimestamp
source§impl PartialEq for MTLCounterResultTimestamp
impl PartialEq for MTLCounterResultTimestamp
source§fn eq(&self, other: &MTLCounterResultTimestamp) -> bool
fn eq(&self, other: &MTLCounterResultTimestamp) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl RefEncode for MTLCounterResultTimestamp
impl RefEncode for MTLCounterResultTimestamp
source§const ENCODING_REF: Encoding = _
const ENCODING_REF: Encoding = _
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for MTLCounterResultTimestamp
impl StructuralPartialEq for MTLCounterResultTimestamp
Auto Trait Implementations§
impl Freeze for MTLCounterResultTimestamp
impl RefUnwindSafe for MTLCounterResultTimestamp
impl Send for MTLCounterResultTimestamp
impl Sync for MTLCounterResultTimestamp
impl Unpin for MTLCounterResultTimestamp
impl UnwindSafe for MTLCounterResultTimestamp
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> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.