Struct necsim_impls_no_std::cogs::emigration_exit::independent::choice::always::AlwaysEmigrationChoice
source · pub struct AlwaysEmigrationChoice(/* private fields */);
Trait Implementations§
source§impl Backup for AlwaysEmigrationChoice
impl Backup for AlwaysEmigrationChoice
unsafe fn backup_unchecked(&self) -> Self
fn backup(&self) -> BackedUp<Self>
source§impl Debug for AlwaysEmigrationChoice
impl Debug for AlwaysEmigrationChoice
source§impl Default for AlwaysEmigrationChoice
impl Default for AlwaysEmigrationChoice
source§fn default() -> AlwaysEmigrationChoice
fn default() -> AlwaysEmigrationChoice
Returns the “default value” for a type. Read more
source§impl<M: MathsCore, H: Habitat<M>> EmigrationChoice<M, H> for AlwaysEmigrationChoice
impl<M: MathsCore, H: Habitat<M>> EmigrationChoice<M, H> for AlwaysEmigrationChoice
fn should_lineage_emigrate( &self, indexed_location: &IndexedLocation, time: PositiveF64, habitat: &H ) -> bool
Auto Trait Implementations§
impl Freeze for AlwaysEmigrationChoice
impl RefUnwindSafe for AlwaysEmigrationChoice
impl Send for AlwaysEmigrationChoice
impl Sync for AlwaysEmigrationChoice
impl Unpin for AlwaysEmigrationChoice
impl UnwindSafe for AlwaysEmigrationChoice
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