pub enum SourceType {
Concentration,
Mass,
Setpoint,
FlowPaced,
}Expand description
Quality source injection type (§2.7).
Variants§
Concentration
Injects at a fixed concentration (mg/L).
Mass
Injects at a fixed mass flow rate (mg/min).
Setpoint
Overrides node concentration with a fixed setpoint (mg/L).
FlowPaced
Scales concentration proportional to outflow from node (mg/L applied to outflow).
Trait Implementations§
Source§impl Clone for SourceType
impl Clone for SourceType
Source§fn clone(&self) -> SourceType
fn clone(&self) -> SourceType
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 SourceType
Source§impl Debug for SourceType
impl Debug for SourceType
impl Eq for SourceType
Source§impl PartialEq for SourceType
impl PartialEq for SourceType
Source§fn eq(&self, other: &SourceType) -> bool
fn eq(&self, other: &SourceType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SourceType
Auto Trait Implementations§
impl Freeze for SourceType
impl RefUnwindSafe for SourceType
impl Send for SourceType
impl Sync for SourceType
impl Unpin for SourceType
impl UnsafeUnpin for SourceType
impl UnwindSafe for SourceType
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