pub struct TimedDetection {
pub registry: AcceleratorRegistry,
pub timings: HashMap<String, Duration>,
pub total: Duration,
}Expand description
Detection results with per-backend timing information.
Fields§
§registry: AcceleratorRegistryThe registry with all detected hardware.
timings: HashMap<String, Duration>Per-backend detection duration.
total: DurationTotal wall-clock detection time.
Trait Implementations§
Source§impl Clone for TimedDetection
impl Clone for TimedDetection
Source§fn clone(&self) -> TimedDetection
fn clone(&self) -> TimedDetection
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 moreAuto Trait Implementations§
impl Freeze for TimedDetection
impl RefUnwindSafe for TimedDetection
impl Send for TimedDetection
impl Sync for TimedDetection
impl Unpin for TimedDetection
impl UnsafeUnpin for TimedDetection
impl UnwindSafe for TimedDetection
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