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