pub struct NodeResult {
pub head: f64,
pub pressure: f64,
pub demand: f64,
}Expand description
Per-node result at a single timestep.
All values are in the internal SI unit system.
Fields§
§head: f64Total hydraulic head at the node (m above datum).
pressure: f64Gauge pressure at the node (m of water column = head − elevation).
demand: f64Net demand delivered at or extracted from the node (m³/s).
Trait Implementations§
Source§impl Clone for NodeResult
impl Clone for NodeResult
Source§fn clone(&self) -> NodeResult
fn clone(&self) -> NodeResult
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 moreAuto Trait Implementations§
impl Freeze for NodeResult
impl RefUnwindSafe for NodeResult
impl Send for NodeResult
impl Sync for NodeResult
impl Unpin for NodeResult
impl UnsafeUnpin for NodeResult
impl UnwindSafe for NodeResult
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