pub struct EntropyFlow {
pub source: ModuleId,
pub sink: ModuleId,
pub rate: f64,
}Expand description
A directed flow of entropy from one module to another.
Fields§
§source: ModuleId§sink: ModuleId§rate: f64Trait Implementations§
Source§impl Clone for EntropyFlow
impl Clone for EntropyFlow
Source§fn clone(&self) -> EntropyFlow
fn clone(&self) -> EntropyFlow
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 moreSource§impl Debug for EntropyFlow
impl Debug for EntropyFlow
Source§impl<'de> Deserialize<'de> for EntropyFlow
impl<'de> Deserialize<'de> for EntropyFlow
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 EntropyFlow
impl RefUnwindSafe for EntropyFlow
impl Send for EntropyFlow
impl Sync for EntropyFlow
impl Unpin for EntropyFlow
impl UnsafeUnpin for EntropyFlow
impl UnwindSafe for EntropyFlow
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