Struct demes::SelfingRate
source · #[repr(transparent)]pub struct SelfingRate(/* private fields */);
Expand description
The selfing rate of an Epoch
.
Trait Implementations§
source§impl Add<SelfingRate> for SelfingRate
impl Add<SelfingRate> for SelfingRate
source§impl Add<SelfingRate> for f64
impl Add<SelfingRate> for f64
§type Output = Option<SelfingRate>
type Output = Option<SelfingRate>
The resulting type after applying the
+
operator.source§impl Add<f64> for SelfingRate
impl Add<f64> for SelfingRate
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<'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 Div<SelfingRate> for SelfingRate
impl Div<SelfingRate> for SelfingRate
source§impl Div<SelfingRate> for f64
impl Div<SelfingRate> for f64
§type Output = Option<SelfingRate>
type Output = Option<SelfingRate>
The resulting type after applying the
/
operator.source§impl Div<f64> for SelfingRate
impl Div<f64> 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 Mul<SelfingRate> for SelfingRate
impl Mul<SelfingRate> for SelfingRate
source§impl Mul<SelfingRate> for f64
impl Mul<SelfingRate> for f64
§type Output = Option<SelfingRate>
type Output = Option<SelfingRate>
The resulting type after applying the
*
operator.source§impl Mul<f64> for SelfingRate
impl Mul<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
source§impl Sub<SelfingRate> for SelfingRate
impl Sub<SelfingRate> for SelfingRate
source§impl Sub<SelfingRate> for f64
impl Sub<SelfingRate> for f64
§type Output = Option<SelfingRate>
type Output = Option<SelfingRate>
The resulting type after applying the
-
operator.source§impl Sub<f64> for SelfingRate
impl Sub<f64> for SelfingRate
source§impl TryFrom<InputSelfingRate> for SelfingRate
impl TryFrom<InputSelfingRate> for SelfingRate
§type Error = DemesError
type Error = DemesError
The type returned in the event of a conversion error.
source§impl TryFrom<f64> for SelfingRate
impl TryFrom<f64> 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<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.