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
sourceimpl 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
sourceimpl Clone for AsymmetricMigration
impl Clone for AsymmetricMigration
sourcefn clone(&self) -> AsymmetricMigration
fn clone(&self) -> AsymmetricMigration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for AsymmetricMigration
impl Debug for AsymmetricMigration
sourceimpl PartialEq<AsymmetricMigration> for AsymmetricMigration
impl PartialEq<AsymmetricMigration> for AsymmetricMigration
sourcefn eq(&self, other: &AsymmetricMigration) -> bool
fn eq(&self, other: &AsymmetricMigration) -> bool
sourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.