Struct demes::CloningRate
source · [−]#[repr(transparent)]pub struct CloningRate(_);
Expand description
The cloning rate of an Epoch
.
Trait Implementations
sourceimpl Clone for CloningRate
impl Clone for CloningRate
sourcefn clone(&self) -> CloningRate
fn clone(&self) -> CloningRate
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 CloningRate
impl Debug for CloningRate
sourceimpl Default for CloningRate
impl Default for CloningRate
sourceimpl<'de> Deserialize<'de> for CloningRate
impl<'de> Deserialize<'de> for CloningRate
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 CloningRate
impl Display for CloningRate
sourceimpl From<CloningRate> for f64
impl From<CloningRate> for f64
sourcefn from(value: CloningRate) -> f64
fn from(value: CloningRate) -> f64
Converts to this type from the input type.
sourceimpl From<f64> for CloningRate
impl From<f64> for CloningRate
sourceimpl Ord for CloningRate
impl Ord for CloningRate
sourceimpl PartialEq<CloningRate> for CloningRate
impl PartialEq<CloningRate> for CloningRate
sourceimpl PartialEq<CloningRate> for f64
impl PartialEq<CloningRate> for f64
sourceimpl PartialEq<f64> for CloningRate
impl PartialEq<f64> for CloningRate
sourceimpl PartialOrd<CloningRate> for CloningRate
impl PartialOrd<CloningRate> for CloningRate
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<CloningRate> for f64
impl PartialOrd<CloningRate> for f64
sourcefn partial_cmp(&self, other: &CloningRate) -> Option<Ordering>
fn partial_cmp(&self, other: &CloningRate) -> 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 CloningRate
impl PartialOrd<f64> for CloningRate
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 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
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.