pub struct Epoch { /* private fields */ }
Expand description
A resolved epoch
Implementations
sourceimpl Epoch
impl Epoch
sourcepub fn size_function(&self) -> SizeFunction
pub fn size_function(&self) -> SizeFunction
The resolved size function
sourcepub fn selfing_rate(&self) -> SelfingRate
pub fn selfing_rate(&self) -> SelfingRate
The resolved selfing rate
sourcepub fn cloning_rate(&self) -> CloningRate
pub fn cloning_rate(&self) -> CloningRate
The resolved cloning rate
sourcepub fn start_size(&self) -> DemeSize
pub fn start_size(&self) -> DemeSize
The resolved start size
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Epoch
impl<'de> Deserialize<'de> for Epoch
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
impl Copy for Epoch
impl Eq for Epoch
impl StructuralEq for Epoch
impl StructuralPartialEq for Epoch
Auto Trait Implementations
impl RefUnwindSafe for Epoch
impl Send for Epoch
impl Sync for Epoch
impl Unpin for Epoch
impl UnwindSafe for Epoch
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.