pub struct EnergyEstimate {
pub static_cost: f64,
pub dynamic_cost: f64,
pub firing_count: u64,
}Expand description
Energy estimate for an operator
Fields§
§static_cost: f64Static energy cost (per firing)
dynamic_cost: f64Dynamic energy cost (scales with data)
firing_count: u64Estimated number of firings
Trait Implementations§
Source§impl Clone for EnergyEstimate
impl Clone for EnergyEstimate
Source§fn clone(&self) -> EnergyEstimate
fn clone(&self) -> EnergyEstimate
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 EnergyEstimate
impl Debug for EnergyEstimate
Source§impl Default for EnergyEstimate
impl Default for EnergyEstimate
Source§fn default() -> EnergyEstimate
fn default() -> EnergyEstimate
Returns the “default value” for a type. Read more
impl Copy for EnergyEstimate
Auto Trait Implementations§
impl Freeze for EnergyEstimate
impl RefUnwindSafe for EnergyEstimate
impl Send for EnergyEstimate
impl Sync for EnergyEstimate
impl Unpin for EnergyEstimate
impl UnwindSafe for EnergyEstimate
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