Struct necsim_plugins_core::import::ReporterPluginVec

source ·
pub struct ReporterPluginVec<ReportSpeciation: Boolean, ReportDispersal: Boolean, ReportProgress: Boolean> { /* private fields */ }

Implementations§

source§

impl<ReportSpeciation: Boolean, ReportDispersal: Boolean, ReportProgress: Boolean> ReporterPluginVec<ReportSpeciation, ReportDispersal, ReportProgress>

source

pub fn internal_filter<KeepSpeciation: Boolean, KeepDispersal: Boolean, KeepProgress: Boolean>( self ) -> Self

source

pub fn with_lifetime<Q, F: FnOnce(Self) -> Q>(self, inner: F) -> Q

Trait Implementations§

source§

impl<ReportSpeciation: Boolean, ReportDispersal: Boolean, ReportProgress: Boolean> Debug for ReporterPluginVec<ReportSpeciation, ReportDispersal, ReportProgress>

source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<ReportSpeciation: Boolean, ReportDispersal: Boolean, ReportProgress: Boolean> Reporter for ReporterPluginVec<ReportSpeciation, ReportDispersal, ReportProgress>

source§

fn report_speciation( &mut self, speciation: &MaybeUsed<SpeciationEvent, Self::ReportSpeciation> )

§

type ReportSpeciation = ReportSpeciation

source§

fn report_dispersal( &mut self, dispersal: &MaybeUsed<DispersalEvent, Self::ReportDispersal> )

§

type ReportDispersal = ReportDispersal

source§

fn report_progress(&mut self, progress: &MaybeUsed<u64, Self::ReportProgress>)

§

type ReportProgress = ReportProgress

source§

fn finalise(self)
where Self: Sized,

source§

unsafe fn finalise_boxed(self: Box<Self>)

Safety Read more
source§

fn initialise(&mut self) -> Result<(), String>

This initialise hook can be used to commit to make final initialisation steps which have side effects. Read more

Auto Trait Implementations§

§

impl<ReportSpeciation, ReportDispersal, ReportProgress> Freeze for ReporterPluginVec<ReportSpeciation, ReportDispersal, ReportProgress>

§

impl<ReportSpeciation, ReportDispersal, ReportProgress> !RefUnwindSafe for ReporterPluginVec<ReportSpeciation, ReportDispersal, ReportProgress>

§

impl<ReportSpeciation, ReportDispersal, ReportProgress> !Send for ReporterPluginVec<ReportSpeciation, ReportDispersal, ReportProgress>

§

impl<ReportSpeciation, ReportDispersal, ReportProgress> !Sync for ReporterPluginVec<ReportSpeciation, ReportDispersal, ReportProgress>

§

impl<ReportSpeciation, ReportDispersal, ReportProgress> Unpin for ReporterPluginVec<ReportSpeciation, ReportDispersal, ReportProgress>
where ReportSpeciation: Unpin, ReportDispersal: Unpin, ReportProgress: Unpin,

§

impl<ReportSpeciation, ReportDispersal, ReportProgress> !UnwindSafe for ReporterPluginVec<ReportSpeciation, ReportDispersal, ReportProgress>

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> ExtractDiscriminant for T

§

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
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Erased for T