Struct demes::InputGenerationTime
source · pub struct InputGenerationTime(/* private fields */);
Expand description
Input value for GenerationTime
, used when loading or building graphs.
Trait Implementations§
source§impl Clone for InputGenerationTime
impl Clone for InputGenerationTime
source§fn clone(&self) -> InputGenerationTime
fn clone(&self) -> InputGenerationTime
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 InputGenerationTime
impl Debug for InputGenerationTime
source§impl<'de> Deserialize<'de> for InputGenerationTime
impl<'de> Deserialize<'de> for InputGenerationTime
source§fn 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
source§impl From<f64> for InputGenerationTime
impl From<f64> for InputGenerationTime
source§impl Serialize for InputGenerationTime
impl Serialize for InputGenerationTime
source§impl TryFrom<InputGenerationTime> for GenerationTime
impl TryFrom<InputGenerationTime> for GenerationTime
§type Error = DemesError
type Error = DemesError
The type returned in the event of a conversion error.
impl Copy for InputGenerationTime
Auto Trait Implementations§
impl Freeze for InputGenerationTime
impl RefUnwindSafe for InputGenerationTime
impl Send for InputGenerationTime
impl Sync for InputGenerationTime
impl Unpin for InputGenerationTime
impl UnwindSafe for InputGenerationTime
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