pub struct ExchangeCore<C, F> { /* private fields */ }
Expand description
An exchange between multiple observers by data
Implementations§
source§impl<C, F> ExchangeCore<C, F>
impl<C, F> ExchangeCore<C, F>
sourcepub fn new(func: F) -> ExchangeCore<C, F>
pub fn new(func: F) -> ExchangeCore<C, F>
Allocates a new Exchange
pact from a distribution function.
Trait Implementations§
source§impl<C, F> Debug for ExchangeCore<C, F>
impl<C, F> Debug for ExchangeCore<C, F>
source§impl<T: Timestamp, C, H> ParallelizationContract<T, C> for ExchangeCore<C, H>
impl<T: Timestamp, C, H> ParallelizationContract<T, C> for ExchangeCore<C, H>
Auto Trait Implementations§
impl<C, F> Freeze for ExchangeCore<C, F>where
F: Freeze,
impl<C, F> RefUnwindSafe for ExchangeCore<C, F>where
F: RefUnwindSafe,
C: RefUnwindSafe,
impl<C, F> Send for ExchangeCore<C, F>
impl<C, F> Sync for ExchangeCore<C, F>
impl<C, F> Unpin for ExchangeCore<C, F>
impl<C, F> UnwindSafe for ExchangeCore<C, F>where
F: UnwindSafe,
C: 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<R, O, T> CopyOnto<ConsecutiveOffsetPairs<R, O>> for T
impl<R, O, T> CopyOnto<ConsecutiveOffsetPairs<R, O>> for T
source§fn copy_onto(
self,
target: &mut ConsecutiveOffsetPairs<R, O>
) -> <ConsecutiveOffsetPairs<R, O> as Region>::Index
fn copy_onto( self, target: &mut ConsecutiveOffsetPairs<R, O> ) -> <ConsecutiveOffsetPairs<R, O> as Region>::Index
Copy self into the target container, returning an index that allows to
look up the corresponding read item.