Struct necsim_core::event::DispersalEvent
source · pub struct DispersalEvent {
pub global_lineage_reference: GlobalLineageReference,
pub prior_time: NonNegativeF64,
pub event_time: PositiveF64,
pub origin: IndexedLocation,
pub target: IndexedLocation,
pub interaction: LineageInteraction,
}
Fields§
§global_lineage_reference: GlobalLineageReference
§prior_time: NonNegativeF64
§event_time: PositiveF64
§origin: IndexedLocation
§target: IndexedLocation
§interaction: LineageInteraction
Trait Implementations§
source§impl Clone for DispersalEvent
impl Clone for DispersalEvent
source§fn clone(&self) -> DispersalEvent
fn clone(&self) -> DispersalEvent
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 DispersalEvent
impl Debug for DispersalEvent
source§impl<'de> Deserialize<'de> for DispersalEvent
impl<'de> Deserialize<'de> for DispersalEvent
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<DispersalEvent> for PackedEvent
impl From<DispersalEvent> for PackedEvent
source§fn from(_: DispersalEvent) -> Self
fn from(_: DispersalEvent) -> Self
Converts to this type from the input type.
source§impl From<DispersalEvent> for TypedEvent
impl From<DispersalEvent> for TypedEvent
source§fn from(event: DispersalEvent) -> Self
fn from(event: DispersalEvent) -> Self
Converts to this type from the input type.
source§impl PartialEq for DispersalEvent
impl PartialEq for DispersalEvent
source§impl Serialize for DispersalEvent
impl Serialize for DispersalEvent
impl Eq for DispersalEvent
Auto Trait Implementations§
impl Freeze for DispersalEvent
impl RefUnwindSafe for DispersalEvent
impl Send for DispersalEvent
impl Sync for DispersalEvent
impl Unpin for DispersalEvent
impl UnwindSafe for DispersalEvent
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