pub struct DeviceExtraction<L> {
pub backend: &'static str,
pub hot_path: bool,
pub node: L,
pub cost: u64,
}Expand description
Best equivalent e-node selected for one device profile.
Fields§
§backend: &'static strBackend id from the source DeviceProfile.
hot_path: boolWhether hot-path scaling was applied.
node: LSelected e-node.
cost: u64Total extracted cost, including child-class costs.
Trait Implementations§
Source§impl<L: Clone> Clone for DeviceExtraction<L>
impl<L: Clone> Clone for DeviceExtraction<L>
Source§fn clone(&self) -> DeviceExtraction<L>
fn clone(&self) -> DeviceExtraction<L>
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<L: Debug> Debug for DeviceExtraction<L>
impl<L: Debug> Debug for DeviceExtraction<L>
impl<L: Eq> Eq for DeviceExtraction<L>
Source§impl<L: PartialEq> PartialEq for DeviceExtraction<L>
impl<L: PartialEq> PartialEq for DeviceExtraction<L>
Source§fn eq(&self, other: &DeviceExtraction<L>) -> bool
fn eq(&self, other: &DeviceExtraction<L>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<L> StructuralPartialEq for DeviceExtraction<L>
Auto Trait Implementations§
impl<L> Freeze for DeviceExtraction<L>where
L: Freeze,
impl<L> RefUnwindSafe for DeviceExtraction<L>where
L: RefUnwindSafe,
impl<L> Send for DeviceExtraction<L>where
L: Send,
impl<L> Sync for DeviceExtraction<L>where
L: Sync,
impl<L> Unpin for DeviceExtraction<L>where
L: Unpin,
impl<L> UnsafeUnpin for DeviceExtraction<L>where
L: UnsafeUnpin,
impl<L> UnwindSafe for DeviceExtraction<L>where
L: UnwindSafe,
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.