Struct demes::AsymmetricMigration
source · pub struct AsymmetricMigration { /* private fields */ }Expand description
An asymmetric migration epoch.
All input migrations are resolved to asymmetric migration instances.
Implementations§
source§impl AsymmetricMigration
impl AsymmetricMigration
sourcepub fn rate(&self) -> MigrationRate
pub fn rate(&self) -> MigrationRate
Get the resolved migration rate
sourcepub fn start_time(&self) -> Time
pub fn start_time(&self) -> Time
Resolved start Time of the migration epoch
sourcepub fn time_interval(&self) -> TimeInterval
pub fn time_interval(&self) -> TimeInterval
Resolved time interval of the migration epoch
Trait Implementations§
source§impl Clone for AsymmetricMigration
impl Clone for AsymmetricMigration
source§fn clone(&self) -> AsymmetricMigration
fn clone(&self) -> AsymmetricMigration
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for AsymmetricMigration
impl Debug for AsymmetricMigration
source§impl PartialEq<AsymmetricMigration> for AsymmetricMigration
impl PartialEq<AsymmetricMigration> for AsymmetricMigration
source§fn eq(&self, other: &AsymmetricMigration) -> bool
fn eq(&self, other: &AsymmetricMigration) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for AsymmetricMigration
impl Serialize for AsymmetricMigration
impl Eq for AsymmetricMigration
impl StructuralEq for AsymmetricMigration
impl StructuralPartialEq for AsymmetricMigration
Auto Trait Implementations§
impl RefUnwindSafe for AsymmetricMigration
impl Send for AsymmetricMigration
impl Sync for AsymmetricMigration
impl Unpin for AsymmetricMigration
impl UnwindSafe for AsymmetricMigration
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.