#[non_exhaustive]pub struct McOpfDroopValue {
pub value: f64,
pub slope: f64,
}Expand description
The value and slope of a smoothed droop curve, and the response of both
to a parameter direction (McOpfDroop::calc_parameter_derivative).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.value: f64The control power, per unit.
slope: f64Its derivative with respect to the monitored voltage, per unit.
Trait Implementations§
Source§impl Clone for McOpfDroopValue
impl Clone for McOpfDroopValue
impl Copy for McOpfDroopValue
Source§impl Debug for McOpfDroopValue
impl Debug for McOpfDroopValue
Source§impl PartialEq for McOpfDroopValue
impl PartialEq for McOpfDroopValue
impl StructuralPartialEq for McOpfDroopValue
Auto Trait Implementations§
impl Freeze for McOpfDroopValue
impl RefUnwindSafe for McOpfDroopValue
impl Send for McOpfDroopValue
impl Sync for McOpfDroopValue
impl Unpin for McOpfDroopValue
impl UnsafeUnpin for McOpfDroopValue
impl UnwindSafe for McOpfDroopValue
Blanket Implementations§
impl<T> Allocation for T
impl<T> Boilerplate for T
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