pub struct RiverSplitNode {
pub meta: NodeMeta,
pub max_flows: Option<OptionalParameterValues>,
pub costs: Option<ParameterValues>,
pub slot_names: Option<Vec<String>>,
pub factors: ParameterValues,
}
Fields§
§meta: NodeMeta
§max_flows: Option<OptionalParameterValues>
§costs: Option<ParameterValues>
§slot_names: Option<Vec<String>>
§factors: ParameterValues
Implementations§
Source§impl RiverSplitNode
impl RiverSplitNode
pub fn parameters(&self) -> HashMap<&str, ParameterValueType<'_>>
pub fn parameters_mut(&mut self) -> HashMap<&str, ParameterValueTypeMut<'_>>
Trait Implementations§
Source§impl Clone for RiverSplitNode
impl Clone for RiverSplitNode
Source§fn clone(&self) -> RiverSplitNode
fn clone(&self) -> RiverSplitNode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RiverSplitNode
impl Debug for RiverSplitNode
Source§impl<'de> Deserialize<'de> for RiverSplitNode
impl<'de> Deserialize<'de> for RiverSplitNode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RiverSplitNode
impl RefUnwindSafe for RiverSplitNode
impl Send for RiverSplitNode
impl Sync for RiverSplitNode
impl Unpin for RiverSplitNode
impl UnwindSafe for RiverSplitNode
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