Struct demes_forward::DemeSizeAt
source · pub struct DemeSizeAt { /* private fields */ }
Expand description
The size of a deme at a given time.
Implementations§
source§impl DemeSizeAt
impl DemeSizeAt
sourcepub fn forward_time(&self) -> ForwardTime
pub fn forward_time(&self) -> ForwardTime
The current time measured since the start of the model, forwards in time
sourcepub fn size(&self) -> CurrentSize
pub fn size(&self) -> CurrentSize
The current size
Trait Implementations§
source§impl Clone for DemeSizeAt
impl Clone for DemeSizeAt
source§fn clone(&self) -> DemeSizeAt
fn clone(&self) -> DemeSizeAt
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 DemeSizeAt
impl Debug for DemeSizeAt
source§impl PartialEq<DemeSizeAt> for DemeSizeAt
impl PartialEq<DemeSizeAt> for DemeSizeAt
source§fn eq(&self, other: &DemeSizeAt) -> bool
fn eq(&self, other: &DemeSizeAt) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<DemeSizeAt> for DemeSizeAt
impl PartialOrd<DemeSizeAt> for DemeSizeAt
source§fn partial_cmp(&self, other: &DemeSizeAt) -> Option<Ordering>
fn partial_cmp(&self, other: &DemeSizeAt) -> 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 moreimpl Copy for DemeSizeAt
impl StructuralPartialEq for DemeSizeAt
Auto Trait Implementations§
impl RefUnwindSafe for DemeSizeAt
impl Send for DemeSizeAt
impl Sync for DemeSizeAt
impl Unpin for DemeSizeAt
impl UnwindSafe for DemeSizeAt
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