pub struct Headroom {
pub up: Option<Deviation>,
pub down: Option<Deviation>,
}Expand description
How far a schedule may move, in one ISP (Envelope::headroom) or steadily over a window
(EnergyEnvelope::steady_headroom): None where
the envelope has no bound.
Fields§
§up: Option<Deviation>To the maximum: positive is room to consume more.
down: Option<Deviation>To the minimum: negative is room to consume less or feed in more.
Trait Implementations§
impl Copy for Headroom
impl Eq for Headroom
impl StructuralPartialEq for Headroom
Auto Trait Implementations§
impl Forget for Headroom
impl Freeze for Headroom
impl Move for Headroom
impl RefUnwindSafe for Headroom
impl Send for Headroom
impl Sync for Headroom
impl Unpin for Headroom
impl UnsafeUnpin for Headroom
impl UnwindSafe for Headroom
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