Struct demes::SelfingRate
source · #[repr(transparent)]pub struct SelfingRate(_);Expand description
The selfing rate of an Epoch.
Trait Implementations§
source§impl Clone for SelfingRate
impl Clone for SelfingRate
source§fn clone(&self) -> SelfingRate
fn clone(&self) -> SelfingRate
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 SelfingRate
impl Debug for SelfingRate
source§impl Default for SelfingRate
impl Default for SelfingRate
source§impl<'de> Deserialize<'de> for SelfingRate
impl<'de> Deserialize<'de> for SelfingRate
source§fn 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
source§impl Display for SelfingRate
impl Display for SelfingRate
source§impl From<SelfingRate> for f64
impl From<SelfingRate> for f64
source§fn from(value: SelfingRate) -> f64
fn from(value: SelfingRate) -> f64
Converts to this type from the input type.
source§impl From<f64> for SelfingRate
impl From<f64> for SelfingRate
source§impl Ord for SelfingRate
impl Ord for SelfingRate
source§impl PartialEq<SelfingRate> for SelfingRate
impl PartialEq<SelfingRate> for SelfingRate
source§impl PartialEq<SelfingRate> for f64
impl PartialEq<SelfingRate> for f64
source§fn eq(&self, other: &SelfingRate) -> bool
fn eq(&self, other: &SelfingRate) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialEq<f64> for SelfingRate
impl PartialEq<f64> for SelfingRate
source§impl PartialOrd<SelfingRate> for SelfingRate
impl PartialOrd<SelfingRate> for SelfingRate
1.0.0 · source§fn 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 moresource§impl PartialOrd<SelfingRate> for f64
impl PartialOrd<SelfingRate> for f64
source§fn partial_cmp(&self, other: &SelfingRate) -> Option<Ordering>
fn partial_cmp(&self, other: &SelfingRate) -> Option<Ordering>
1.0.0 · source§fn 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 moresource§impl PartialOrd<f64> for SelfingRate
impl PartialOrd<f64> for SelfingRate
1.0.0 · source§fn 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 moresource§impl Serialize for SelfingRate
impl Serialize for SelfingRate
impl Copy for SelfingRate
impl Eq for SelfingRate
Auto Trait Implementations§
impl RefUnwindSafe for SelfingRate
impl Send for SelfingRate
impl Sync for SelfingRate
impl Unpin for SelfingRate
impl UnwindSafe for SelfingRate
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.