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