pub struct NodeNoiseGenerator<L: Distribution<f64>, I: Distribution<f64>> {
pub load_distributions: Vec<L>,
pub inflow_distributions: Vec<I>,
pub num_branchings: usize,
pub num_load_entities: usize,
pub num_inflow_entities: usize,
}Fields§
§load_distributions: Vec<L>§inflow_distributions: Vec<I>§num_branchings: usize§num_load_entities: usize§num_inflow_entities: usizeAuto Trait Implementations§
impl<L, I> Freeze for NodeNoiseGenerator<L, I>
impl<L, I> RefUnwindSafe for NodeNoiseGenerator<L, I>where
L: RefUnwindSafe,
I: RefUnwindSafe,
impl<L, I> Send for NodeNoiseGenerator<L, I>
impl<L, I> Sync for NodeNoiseGenerator<L, I>
impl<L, I> Unpin for NodeNoiseGenerator<L, I>
impl<L, I> UnwindSafe for NodeNoiseGenerator<L, I>where
L: UnwindSafe,
I: UnwindSafe,
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more