pub enum DemandModel {
DemandDriven,
PressureDriven,
}Expand description
Demand model: demand-driven (DDA) or pressure-driven (PDA) (§2.1).
Variants§
DemandDriven
Demand-driven analysis: demands are always fully satisfied regardless of pressure.
PressureDriven
Pressure-driven analysis: delivered demand scales with available pressure.
Trait Implementations§
Source§impl Clone for DemandModel
impl Clone for DemandModel
Source§fn clone(&self) -> DemandModel
fn clone(&self) -> DemandModel
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 DemandModel
Source§impl Debug for DemandModel
impl Debug for DemandModel
impl Eq for DemandModel
Source§impl PartialEq for DemandModel
impl PartialEq for DemandModel
Source§fn eq(&self, other: &DemandModel) -> bool
fn eq(&self, other: &DemandModel) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DemandModel
Auto Trait Implementations§
impl Freeze for DemandModel
impl RefUnwindSafe for DemandModel
impl Send for DemandModel
impl Sync for DemandModel
impl Unpin for DemandModel
impl UnsafeUnpin for DemandModel
impl UnwindSafe for DemandModel
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