Struct demes::CloningRate
source · #[repr(transparent)]pub struct CloningRate(/* private fields */);
Expand description
The cloning rate of an Epoch
.
Trait Implementations§
source§impl Add<CloningRate> for CloningRate
impl Add<CloningRate> for CloningRate
source§impl Add<CloningRate> for f64
impl Add<CloningRate> for f64
§type Output = Option<CloningRate>
type Output = Option<CloningRate>
The resulting type after applying the
+
operator.source§impl Add<f64> for CloningRate
impl Add<f64> for CloningRate
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<'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 Div<CloningRate> for CloningRate
impl Div<CloningRate> for CloningRate
source§impl Div<CloningRate> for f64
impl Div<CloningRate> for f64
§type Output = Option<CloningRate>
type Output = Option<CloningRate>
The resulting type after applying the
/
operator.source§impl Div<f64> for CloningRate
impl Div<f64> 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 Mul<CloningRate> for CloningRate
impl Mul<CloningRate> for CloningRate
source§impl Mul<CloningRate> for f64
impl Mul<CloningRate> for f64
§type Output = Option<CloningRate>
type Output = Option<CloningRate>
The resulting type after applying the
*
operator.source§impl Mul<f64> for CloningRate
impl Mul<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
source§impl Sub<CloningRate> for CloningRate
impl Sub<CloningRate> for CloningRate
source§impl Sub<CloningRate> for f64
impl Sub<CloningRate> for f64
§type Output = Option<CloningRate>
type Output = Option<CloningRate>
The resulting type after applying the
-
operator.source§impl Sub<f64> for CloningRate
impl Sub<f64> for CloningRate
source§impl TryFrom<InputCloningRate> for CloningRate
impl TryFrom<InputCloningRate> for CloningRate
§type Error = DemesError
type Error = DemesError
The type returned in the event of a conversion error.
source§impl TryFrom<f64> for CloningRate
impl TryFrom<f64> 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<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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.