Struct demes::MigrationRate
source · [−]#[repr(transparent)]pub struct MigrationRate(_);
Expand description
Trait Implementations
sourceimpl Clone for MigrationRate
impl Clone for MigrationRate
sourcefn clone(&self) -> MigrationRate
fn clone(&self) -> MigrationRate
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 more
sourceimpl Debug for MigrationRate
impl Debug for MigrationRate
sourceimpl Default for MigrationRate
impl Default for MigrationRate
sourceimpl<'de> Deserialize<'de> for MigrationRate
impl<'de> Deserialize<'de> for MigrationRate
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Display for MigrationRate
impl Display for MigrationRate
sourceimpl From<MigrationRate> for f64
impl From<MigrationRate> for f64
sourcefn from(value: MigrationRate) -> f64
fn from(value: MigrationRate) -> f64
Converts to this type from the input type.
sourceimpl From<f64> for MigrationRate
impl From<f64> for MigrationRate
sourceimpl Ord for MigrationRate
impl Ord for MigrationRate
sourceimpl PartialEq<MigrationRate> for MigrationRate
impl PartialEq<MigrationRate> for MigrationRate
sourceimpl PartialEq<MigrationRate> for f64
impl PartialEq<MigrationRate> for f64
sourceimpl PartialEq<f64> for MigrationRate
impl PartialEq<f64> for MigrationRate
sourceimpl PartialOrd<MigrationRate> for MigrationRate
impl PartialOrd<MigrationRate> for MigrationRate
sourcefn partial_cmp(&self, other: &Self) -> Option<Ordering>
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl PartialOrd<MigrationRate> for f64
impl PartialOrd<MigrationRate> for f64
sourcefn partial_cmp(&self, other: &MigrationRate) -> Option<Ordering>
fn partial_cmp(&self, other: &MigrationRate) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl PartialOrd<f64> for MigrationRate
impl PartialOrd<f64> for MigrationRate
sourcefn partial_cmp(&self, other: &f64) -> Option<Ordering>
fn partial_cmp(&self, other: &f64) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl Serialize for MigrationRate
impl Serialize for MigrationRate
impl Copy for MigrationRate
impl Eq for MigrationRate
Auto Trait Implementations
impl RefUnwindSafe for MigrationRate
impl Send for MigrationRate
impl Sync for MigrationRate
impl Unpin for MigrationRate
impl UnwindSafe for MigrationRate
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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 Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
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.