Struct necsim_core::event::SpeciationEvent
source · #[repr(C)]pub struct SpeciationEvent {
pub global_lineage_reference: GlobalLineageReference,
pub prior_time: NonNegativeF64,
pub event_time: PositiveF64,
pub origin: IndexedLocation,
}
Fields§
§global_lineage_reference: GlobalLineageReference
§prior_time: NonNegativeF64
§event_time: PositiveF64
§origin: IndexedLocation
Trait Implementations§
source§impl Clone for SpeciationEvent
impl Clone for SpeciationEvent
source§fn clone(&self) -> SpeciationEvent
fn clone(&self) -> SpeciationEvent
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 ComputeTypeSet for SpeciationEvent
impl ComputeTypeSet for SpeciationEvent
§type Output<__TypeSetRest: ExpandTypeSet> = <<<<__TypeSetRest as ComputeSet>::Output<IndexedLocation> as ComputeSet>::Output<PositiveF64> as ComputeSet>::Output<NonNegativeF64> as ComputeSet>::Output<GlobalLineageReference>
type Output<__TypeSetRest: ExpandTypeSet> = <<<<__TypeSetRest as ComputeSet>::Output<IndexedLocation> as ComputeSet>::Output<PositiveF64> as ComputeSet>::Output<NonNegativeF64> as ComputeSet>::Output<GlobalLineageReference>
Extend the set
T
into a (larger) set containing also the types this
type links to. Read moresource§impl Debug for SpeciationEvent
impl Debug for SpeciationEvent
source§impl<'de> Deserialize<'de> for SpeciationEvent
impl<'de> Deserialize<'de> for SpeciationEvent
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<SpeciationEvent> for PackedEvent
impl From<SpeciationEvent> for PackedEvent
source§fn from(event: SpeciationEvent) -> Self
fn from(event: SpeciationEvent) -> Self
Converts to this type from the input type.
source§impl From<SpeciationEvent> for TypedEvent
impl From<SpeciationEvent> for TypedEvent
source§fn from(event: SpeciationEvent) -> Self
fn from(event: SpeciationEvent) -> Self
Converts to this type from the input type.
source§impl PartialEq for SpeciationEvent
impl PartialEq for SpeciationEvent
source§impl Serialize for SpeciationEvent
impl Serialize for SpeciationEvent
source§impl TypeLayout for SpeciationEvent
impl TypeLayout for SpeciationEvent
§type Inhabited = <And<<GlobalLineageReference as TypeLayout>::Inhabited, <And<<NonNegativeF64 as TypeLayout>::Inhabited, <And<<PositiveF64 as TypeLayout>::Inhabited, <And<<IndexedLocation as TypeLayout>::Inhabited, Inhabited> as ComputeInhabited>::Output> as ComputeInhabited>::Output> as ComputeInhabited>::Output> as ComputeInhabited>::Output
type Inhabited = <And<<GlobalLineageReference as TypeLayout>::Inhabited, <And<<NonNegativeF64 as TypeLayout>::Inhabited, <And<<PositiveF64 as TypeLayout>::Inhabited, <And<<IndexedLocation as TypeLayout>::Inhabited, Inhabited> as ComputeInhabited>::Output> as ComputeInhabited>::Output> as ComputeInhabited>::Output> as ComputeInhabited>::Output
Marker type for whether the type is
inhabited or
uninhabited.
The associated type must be either [
inhabited::Inhabited
]
or [inhabited::Uninhabited
].source§const TYPE_LAYOUT: TypeLayoutInfo<'static> = _
const TYPE_LAYOUT: TypeLayoutInfo<'static> = _
Shallow layout of the type.
impl Eq for SpeciationEvent
Auto Trait Implementations§
impl Freeze for SpeciationEvent
impl RefUnwindSafe for SpeciationEvent
impl Send for SpeciationEvent
impl Sync for SpeciationEvent
impl Unpin for SpeciationEvent
impl UnwindSafe for SpeciationEvent
Blanket Implementations§
source§impl<T> Backup for Twhere
T: Clone,
impl<T> Backup for Twhere
T: Clone,
default unsafe fn backup_unchecked(&self) -> T
default unsafe fn __contracts_impl_backup_unchecked(&self) -> T
fn backup(&self) -> BackedUp<Self>
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
§impl<T> ExtractDiscriminant for T
impl<T> ExtractDiscriminant for T
§type Discriminant = <T as ExtractDiscriminantSpec<<T as DiscriminantKind>::Discriminant>>::Ty
type Discriminant = <T as ExtractDiscriminantSpec<<T as DiscriminantKind>::Discriminant>>::Ty
The type of the discriminant, which must satisfy the trait bounds
required by
core::mem::Discriminant
. Read more§impl<T> TypeGraphLayout for Twhere
T: TypeLayout + ComputeTypeSet,
impl<T> TypeGraphLayout for Twhere
T: TypeLayout + ComputeTypeSet,
§const TYPE_GRAPH: TypeLayoutGraph<'static> = _
const TYPE_GRAPH: TypeLayoutGraph<'static> = _
Shallow layout of the type.