Struct necsim_impls_no_std::cogs::lineage_store::coherent::locally::classical::ClassicalLineageStore
source · pub struct ClassicalLineageStore<M: MathsCore, H: Habitat<M>> { /* private fields */ }
Trait Implementations§
source§impl<M: MathsCore, H: Habitat<M>> Backup for ClassicalLineageStore<M, H>
impl<M: MathsCore, H: Habitat<M>> Backup for ClassicalLineageStore<M, H>
unsafe fn backup_unchecked(&self) -> Self
fn backup(&self) -> BackedUp<Self>
source§impl<'a, M: MathsCore, H: Habitat<M>> Index<&'a InMemoryLineageReference> for ClassicalLineageStore<M, H>
impl<'a, M: MathsCore, H: Habitat<M>> Index<&'a InMemoryLineageReference> for ClassicalLineageStore<M, H>
source§impl<M: MathsCore, H: Habitat<M>> LineageStore<M, H> for ClassicalLineageStore<M, H>
impl<M: MathsCore, H: Habitat<M>> LineageStore<M, H> for ClassicalLineageStore<M, H>
type LocalLineageReference = InMemoryLineageReference
fn with_capacity(habitat: &H, capacity: usize) -> Self
fn get_lineage_for_local_reference( &self, reference: &Self::LocalLineageReference ) -> Option<&Lineage>
source§impl<M: MathsCore, H: Habitat<M>> LocallyCoherentLineageStore<M, H> for ClassicalLineageStore<M, H>
impl<M: MathsCore, H: Habitat<M>> LocallyCoherentLineageStore<M, H> for ClassicalLineageStore<M, H>
§fn get_global_lineage_reference_at_indexed_location(
&self,
indexed_location: &IndexedLocation,
habitat: &H
) -> Option<&GlobalLineageReference>
fn get_global_lineage_reference_at_indexed_location( &self, indexed_location: &IndexedLocation, habitat: &H ) -> Option<&GlobalLineageReference>
Contracts Read more
§fn insert_lineage_locally_coherent(
&mut self,
lineage: Lineage,
habitat: &H
) -> Self::LocalLineageReference
fn insert_lineage_locally_coherent( &mut self, lineage: Lineage, habitat: &H ) -> Self::LocalLineageReference
Contracts Read more
§fn extract_lineage_locally_coherent(
&mut self,
reference: Self::LocalLineageReference,
habitat: &H
) -> Lineage
fn extract_lineage_locally_coherent( &mut self, reference: Self::LocalLineageReference, habitat: &H ) -> Lineage
Contracts Read more
Auto Trait Implementations§
impl<M, H> Freeze for ClassicalLineageStore<M, H>
impl<M, H> RefUnwindSafe for ClassicalLineageStore<M, H>where
M: RefUnwindSafe,
H: RefUnwindSafe,
impl<M, H> Send for ClassicalLineageStore<M, H>where
H: Send,
impl<M, H> Sync for ClassicalLineageStore<M, H>where
H: Sync,
impl<M, H> Unpin for ClassicalLineageStore<M, H>
impl<M, H> UnwindSafe for ClassicalLineageStore<M, H>where
M: UnwindSafe,
H: 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