pub struct EnergyBudgetConstraint {
pub max_joules: Option<f64>,
pub max_watts: Option<f64>,
pub max_temp_delta: Option<f64>,
}Expand description
Energy budget constraint for block-level energy checking
Fields§
§max_joules: Option<f64>§max_watts: Option<f64>§max_temp_delta: Option<f64>Trait Implementations§
Source§impl Clone for EnergyBudgetConstraint
impl Clone for EnergyBudgetConstraint
Source§fn clone(&self) -> EnergyBudgetConstraint
fn clone(&self) -> EnergyBudgetConstraint
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 EnergyBudgetConstraint
impl RefUnwindSafe for EnergyBudgetConstraint
impl Send for EnergyBudgetConstraint
impl Sync for EnergyBudgetConstraint
impl Unpin for EnergyBudgetConstraint
impl UnwindSafe for EnergyBudgetConstraint
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