Trait necsim_core::cogs::lineage_store::LineageStore

source ·
pub trait LineageStore<M: MathsCore, H: Habitat<M>>: Backup + Sized + Debug {
    type LocalLineageReference: LineageReference<M, H>;

    // Provided methods
    fn with_capacity(habitat: &H, capacity: usize) -> Self { ... }
    fn get_lineage_for_local_reference(
        &self,
        reference: &Self::LocalLineageReference
    ) -> Option<&Lineage> { ... }
}

Required Associated Types§

Provided Methods§

source

fn with_capacity(habitat: &H, capacity: usize) -> Self

source

fn get_lineage_for_local_reference( &self, reference: &Self::LocalLineageReference ) -> Option<&Lineage>

Object Safety§

This trait is not object safe.

Implementors§