Struct necsim_core::reporter::ReporterCombinator
source · pub struct ReporterCombinator<F: Reporter, T: Reporter> { /* private fields */ }
Implementations§
Trait Implementations§
source§impl<F: Reporter, T: Reporter> Reporter for ReporterCombinator<F, T>where
F::ReportSpeciation: Or<T::ReportSpeciation>,
F::ReportDispersal: Or<T::ReportDispersal>,
F::ReportProgress: Or<T::ReportProgress>,
impl<F: Reporter, T: Reporter> Reporter for ReporterCombinator<F, T>where
F::ReportSpeciation: Or<T::ReportSpeciation>,
F::ReportDispersal: Or<T::ReportDispersal>,
F::ReportProgress: Or<T::ReportProgress>,
fn report_speciation( &mut self, speciation: &MaybeUsed<SpeciationEvent, Self::ReportSpeciation> )
type ReportSpeciation = <<F as Reporter>::ReportSpeciation as Or<<T as Reporter>::ReportSpeciation>>::RESULT
fn report_dispersal( &mut self, dispersal: &MaybeUsed<DispersalEvent, Self::ReportDispersal> )
type ReportDispersal = <<F as Reporter>::ReportDispersal as Or<<T as Reporter>::ReportDispersal>>::RESULT
fn report_progress(&mut self, progress: &MaybeUsed<u64, Self::ReportProgress>)
type ReportProgress = <<F as Reporter>::ReportProgress as Or<<T as Reporter>::ReportProgress>>::RESULT
fn finalise(self)where
Self: Sized,
source§unsafe fn finalise_boxed(self: Box<Self>)
unsafe fn finalise_boxed(self: Box<Self>)
Safety Read more
Auto Trait Implementations§
impl<F, T> Freeze for ReporterCombinator<F, T>
impl<F, T> RefUnwindSafe for ReporterCombinator<F, T>where
F: RefUnwindSafe,
T: RefUnwindSafe,
impl<F, T> Send for ReporterCombinator<F, T>
impl<F, T> Sync for ReporterCombinator<F, T>
impl<F, T> Unpin for ReporterCombinator<F, T>
impl<F, T> UnwindSafe for ReporterCombinator<F, T>where
F: UnwindSafe,
T: 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
§impl<T> ExtractDiscriminant for T
impl<T> ExtractDiscriminant for T
§type Discriminant = <T as ExtractDiscriminantSpec<<T as DiscriminantKind>::Discriminant>>::Ty
type Discriminant = <T as ExtractDiscriminantSpec<<T as DiscriminantKind>::Discriminant>>::Ty
The type of the discriminant, which must satisfy the trait bounds
required by
core::mem::Discriminant
. Read more