pub struct ThreadsLocalPartition<R: Reporter> { /* private fields */ }
Trait Implementations§
source§impl<R: Reporter> Debug for ThreadsLocalPartition<R>
impl<R: Reporter> Debug for ThreadsLocalPartition<R>
source§impl<'p, R: Reporter> LocalPartition<'p, R> for ThreadsLocalPartition<R>
impl<'p, R: Reporter> LocalPartition<'p, R> for ThreadsLocalPartition<R>
type ImmigrantIterator<'a> = ImmigrantPopIterator<'a> where R: 'a, 'p: 'a
type IsLive = False
type Reporter = ThreadsLocalPartition<R>
fn get_reporter(&mut self) -> &mut Self::Reporter
fn get_partition(&self) -> Partition
fn migrate_individuals<'a, E: Iterator<Item = (u32, MigratingLineage)>>(
&'a mut self,
emigrants: &mut E,
emigration_mode: MigrationMode,
immigration_mode: MigrationMode
) -> Self::ImmigrantIterator<'a>where
'p: 'a,
fn reduce_vote_any(&mut self, vote: bool) -> bool
fn reduce_vote_min_time( &mut self, local_time: PositiveF64 ) -> Result<PositiveF64, PositiveF64>
fn wait_for_termination(&mut self) -> ControlFlow<(), ()>
fn report_progress_sync(&mut self, remaining: u64)
source§impl<R: Reporter> Reporter for ThreadsLocalPartition<R>
impl<R: Reporter> Reporter for ThreadsLocalPartition<R>
fn report_speciation( &mut self, speciation: &MaybeUsed<SpeciationEvent, Self::ReportSpeciation> )
type ReportSpeciation = <R as Reporter>::ReportSpeciation
fn report_dispersal( &mut self, dispersal: &MaybeUsed<DispersalEvent, Self::ReportDispersal> )
type ReportDispersal = <R as Reporter>::ReportDispersal
fn report_progress(&mut self, remaining: &MaybeUsed<u64, Self::ReportProgress>)
type ReportProgress = <R as Reporter>::ReportProgress
§fn initialise(&mut self) -> Result<(), String>
fn initialise(&mut self) -> Result<(), String>
This
initialise
hook can be used to commit to make final
initialisation steps which have side effects. Read morefn finalise(self)where
Self: Sized,
§unsafe fn finalise_boxed(self: Box<Self>)
unsafe fn finalise_boxed(self: Box<Self>)
Safety Read more
Auto Trait Implementations§
impl<R> Freeze for ThreadsLocalPartition<R>
impl<R> RefUnwindSafe for ThreadsLocalPartition<R>where
R: RefUnwindSafe,
impl<R> Send for ThreadsLocalPartition<R>where
R: Send,
impl<R> !Sync for ThreadsLocalPartition<R>
impl<R> Unpin for ThreadsLocalPartition<R>where
R: Unpin,
impl<R> UnwindSafe for ThreadsLocalPartition<R>where
R: 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