pub struct Deme { /* private fields */ }
Expand description
A resolved deme.
Implementations§
source§impl Deme
impl Deme
sourcepub fn start_times(&self) -> impl Iterator<Item = Time> + '_
pub fn start_times(&self) -> impl Iterator<Item = Time> + '_
Iterator over resolved epoch start times
sourcepub fn start_time(&self) -> Time
pub fn start_time(&self) -> Time
The resolved start time
sourcepub fn time_interval(&self) -> TimeInterval
pub fn time_interval(&self) -> TimeInterval
The resolved time interval
sourcepub fn num_ancestors(&self) -> usize
pub fn num_ancestors(&self) -> usize
Number of ancestors
sourcepub fn start_sizes(&self) -> impl Iterator<Item = DemeSize> + '_
pub fn start_sizes(&self) -> impl Iterator<Item = DemeSize> + '_
Iterator over resolved epoch start sizes.
sourcepub fn end_sizes(&self) -> impl Iterator<Item = DemeSize> + '_
pub fn end_sizes(&self) -> impl Iterator<Item = DemeSize> + '_
Iterator over resolved epoch end sizes
sourcepub fn end_times(&self) -> impl Iterator<Item = Time> + '_
pub fn end_times(&self) -> impl Iterator<Item = Time> + '_
Itertor over resolved epoch end times
sourcepub fn end_time(&self) -> Time
pub fn end_time(&self) -> Time
End time of the deme.
Obtained from the value stored in the most recent epoch.
sourcepub fn start_size(&self) -> DemeSize
pub fn start_size(&self) -> DemeSize
Resolved start size
sourcepub fn ancestor_names(&self) -> &[String]
pub fn ancestor_names(&self) -> &[String]
Names of ancestor demes.
Empty if no ancestors.
sourcepub fn description(&self) -> &str
pub fn description(&self) -> &str
Description string
sourcepub fn proportions(&self) -> &[Proportion]
pub fn proportions(&self) -> &[Proportion]
Resolved proportions
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Deme
impl Send for Deme
impl Sync for Deme
impl Unpin for Deme
impl UnwindSafe for Deme
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