Struct demes::TopLevelDemeDefaults
source · [−]pub struct TopLevelDemeDefaults {
pub description: Option<String>,
pub start_time: Option<Time>,
pub ancestors: Option<Vec<String>>,
pub proportions: Option<Vec<Proportion>>,
}
Expand description
Top-level defaults for a Deme
.
This type is used as a member of
GraphDefaults
Fields
description: Option<String>
start_time: Option<Time>
ancestors: Option<Vec<String>>
proportions: Option<Vec<Proportion>>
Trait Implementations
sourceimpl Clone for TopLevelDemeDefaults
impl Clone for TopLevelDemeDefaults
sourcefn clone(&self) -> TopLevelDemeDefaults
fn clone(&self) -> TopLevelDemeDefaults
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 TopLevelDemeDefaults
impl Debug for TopLevelDemeDefaults
sourceimpl Default for TopLevelDemeDefaults
impl Default for TopLevelDemeDefaults
sourcefn default() -> TopLevelDemeDefaults
fn default() -> TopLevelDemeDefaults
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for TopLevelDemeDefaults
impl<'de> Deserialize<'de> for TopLevelDemeDefaults
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 Serialize for TopLevelDemeDefaults
impl Serialize for TopLevelDemeDefaults
Auto Trait Implementations
impl RefUnwindSafe for TopLevelDemeDefaults
impl Send for TopLevelDemeDefaults
impl Sync for TopLevelDemeDefaults
impl Unpin for TopLevelDemeDefaults
impl UnwindSafe for TopLevelDemeDefaults
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