#[repr(C)]pub struct PioGeneratorCostView {
pub model: u8,
pub startup: f64,
pub shutdown: f64,
pub ncost: usize,
pub coefficients: PioF64View,
}Expand description
One generator cost curve.
Fields§
§model: u8§startup: f64§shutdown: f64§ncost: usize§coefficients: PioF64ViewTrait Implementations§
Source§impl Clone for PioGeneratorCostView
impl Clone for PioGeneratorCostView
Source§fn clone(&self) -> PioGeneratorCostView
fn clone(&self) -> PioGeneratorCostView
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 moreimpl Copy for PioGeneratorCostView
Auto Trait Implementations§
impl !Send for PioGeneratorCostView
impl !Sync for PioGeneratorCostView
impl Freeze for PioGeneratorCostView
impl RefUnwindSafe for PioGeneratorCostView
impl Unpin for PioGeneratorCostView
impl UnsafeUnpin for PioGeneratorCostView
impl UnwindSafe for PioGeneratorCostView
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