pub struct AnalysisSelection {
pub pressure: bool,
pub head: bool,
pub flow: bool,
pub velocity: bool,
pub status: bool,
}Expand description
Selects which result variables are included in an AnalysisArtifact.
Setting a field to false omits that variable entirely; the corresponding
histograms and summary statistics are not computed or stored. Use
AnalysisSelection::all to enable every variable.
Fields§
§pressure: boolInclude nodal gauge-pressure histograms and summaries.
head: boolInclude nodal hydraulic-head histograms and summaries.
flow: boolInclude link volumetric-flow histograms and summaries.
velocity: boolInclude link mean-velocity histograms and summaries.
status: boolInclude link status (open/closed) distributions.
Implementations§
Source§impl AnalysisSelection
impl AnalysisSelection
Sourcepub fn all() -> AnalysisSelection
pub fn all() -> AnalysisSelection
Returns an AnalysisSelection with every variable enabled.
Trait Implementations§
Source§impl Clone for AnalysisSelection
impl Clone for AnalysisSelection
Source§fn clone(&self) -> AnalysisSelection
fn clone(&self) -> AnalysisSelection
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 AnalysisSelection
Auto Trait Implementations§
impl Freeze for AnalysisSelection
impl RefUnwindSafe for AnalysisSelection
impl Send for AnalysisSelection
impl Sync for AnalysisSelection
impl Unpin for AnalysisSelection
impl UnsafeUnpin for AnalysisSelection
impl UnwindSafe for AnalysisSelection
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