pub struct TimestampQuery { /* private fields */ }Implementations§
Source§impl TimestampQuery
impl TimestampQuery
pub unsafe fn create( physical_device: &PhysicalDevice, device: &Device, query_count: u32, ) -> Result<Self>
pub unsafe fn destroy(self, device: &Device)
pub unsafe fn reset(&self, device: &Device)
pub unsafe fn get_raw_timestamps(&self, device: &Device) -> Result<Vec<u64>>
pub unsafe fn get_differences(&self, device: &Device) -> Result<Vec<Duration>>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TimestampQuery
impl RefUnwindSafe for TimestampQuery
impl Send for TimestampQuery
impl Sync for TimestampQuery
impl Unpin for TimestampQuery
impl UnwindSafe for TimestampQuery
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