pub enum CurveKind {
Generic,
PumpHead,
PumpEfficiency,
PumpVolume,
TankVolume,
GpvHeadloss,
PcvLossRatio,
}Expand description
Semantic kind of a piecewise-linear curve (§2.3).
Variants§
Generic
A curve not yet assigned to a specific usage. Skips kind-specific validation (y-monotonicity, range checks) since its purpose is unknown.
PumpHead
Pump head vs. flow curve.
PumpEfficiency
Pump efficiency vs. flow curve.
PumpVolume
Constant-HP pump volume curve.
TankVolume
Tank volume vs. level curve.
GpvHeadloss
General Purpose Valve headloss vs. flow curve.
PcvLossRatio
Positional Control Valve loss ratio vs. flow curve.
Trait Implementations§
impl Copy for CurveKind
impl Eq for CurveKind
impl StructuralPartialEq for CurveKind
Auto Trait Implementations§
impl Freeze for CurveKind
impl RefUnwindSafe for CurveKind
impl Send for CurveKind
impl Sync for CurveKind
impl Unpin for CurveKind
impl UnsafeUnpin for CurveKind
impl UnwindSafe for CurveKind
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