pub struct DeviceLoad {
pub device_index: usize,
pub queued_cost: u64,
}Expand description
Current device load snapshot.
Fields§
§device_index: usizeDevice ordinal in the caller’s adapter list.
queued_cost: u64Cost already queued on the device before this partitioning pass.
Trait Implementations§
Source§impl Clone for DeviceLoad
impl Clone for DeviceLoad
Source§fn clone(&self) -> DeviceLoad
fn clone(&self) -> DeviceLoad
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DeviceLoad
impl Debug for DeviceLoad
impl Eq for DeviceLoad
Source§impl PartialEq for DeviceLoad
impl PartialEq for DeviceLoad
impl StructuralPartialEq for DeviceLoad
Auto Trait Implementations§
impl Freeze for DeviceLoad
impl RefUnwindSafe for DeviceLoad
impl Send for DeviceLoad
impl Sync for DeviceLoad
impl Unpin for DeviceLoad
impl UnsafeUnpin for DeviceLoad
impl UnwindSafe for DeviceLoad
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.