pub enum PumpCurveType {
PowerFunction,
ConstHp,
Custom,
}Expand description
Pump head-curve type (§2.6.3).
Variants§
PowerFunction
Three-point power-function curve.
ConstHp
Constant horsepower.
Custom
User-supplied head-flow curve.
Trait Implementations§
Source§impl Clone for PumpCurveType
impl Clone for PumpCurveType
Source§fn clone(&self) -> PumpCurveType
fn clone(&self) -> PumpCurveType
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 PumpCurveType
Source§impl Debug for PumpCurveType
impl Debug for PumpCurveType
impl Eq for PumpCurveType
Source§impl PartialEq for PumpCurveType
impl PartialEq for PumpCurveType
Source§fn eq(&self, other: &PumpCurveType) -> bool
fn eq(&self, other: &PumpCurveType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PumpCurveType
Auto Trait Implementations§
impl Freeze for PumpCurveType
impl RefUnwindSafe for PumpCurveType
impl Send for PumpCurveType
impl Sync for PumpCurveType
impl Unpin for PumpCurveType
impl UnsafeUnpin for PumpCurveType
impl UnwindSafe for PumpCurveType
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