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 for AsymmetricMigration
impl PartialEq 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 StructuralPartialEq for AsymmetricMigration
Auto Trait Implementations§
impl Freeze for AsymmetricMigration
impl RefUnwindSafe for AsymmetricMigration
impl Send for AsymmetricMigration
impl Sync for AsymmetricMigration
impl Unpin for AsymmetricMigration
impl UnwindSafe for AsymmetricMigration
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.