pub struct Cost {
pub latency: f64,
pub throughput: f64,
pub size: f64,
pub energy: f64,
}Fields§
§latency: f64§throughput: f64§size: f64§energy: f64Implementations§
Trait Implementations§
Source§impl PartialOrd for Cost
impl PartialOrd for Cost
impl Copy for Cost
impl StructuralPartialEq for Cost
Auto Trait Implementations§
impl Freeze for Cost
impl RefUnwindSafe for Cost
impl Send for Cost
impl Sync for Cost
impl Unpin for Cost
impl UnwindSafe for Cost
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