pub struct ProviderSnapshot {
pub device: ApiDeviceInfo,
pub telemetry: ProviderTelemetry,
}Fields§
§device: ApiDeviceInfo§telemetry: ProviderTelemetryImplementations§
Source§impl ProviderSnapshot
impl ProviderSnapshot
pub fn gpu_wall_ns(&self) -> u64
pub fn gpu_dispatches(&self) -> u64
Trait Implementations§
Source§impl Clone for ProviderSnapshot
impl Clone for ProviderSnapshot
Source§fn clone(&self) -> ProviderSnapshot
fn clone(&self) -> ProviderSnapshot
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 ProviderSnapshot
impl Debug for ProviderSnapshot
Auto Trait Implementations§
impl Freeze for ProviderSnapshot
impl RefUnwindSafe for ProviderSnapshot
impl Send for ProviderSnapshot
impl Sync for ProviderSnapshot
impl Unpin for ProviderSnapshot
impl UnsafeUnpin for ProviderSnapshot
impl UnwindSafe for ProviderSnapshot
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