Enum necsim_core::event::TypedEvent
source · pub enum TypedEvent {
Speciation(SpeciationEvent),
Dispersal(DispersalEvent),
}
Variants§
Speciation(SpeciationEvent)
Dispersal(DispersalEvent)
Trait Implementations§
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 From<PackedEvent> for TypedEvent
impl From<PackedEvent> for TypedEvent
source§fn from(_: PackedEvent) -> Self
fn from(_: PackedEvent) -> 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 From<TypedEvent> for PackedEvent
impl From<TypedEvent> for PackedEvent
source§fn from(event: TypedEvent) -> Self
fn from(event: TypedEvent) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TypedEvent
impl RefUnwindSafe for TypedEvent
impl Send for TypedEvent
impl Sync for TypedEvent
impl Unpin for TypedEvent
impl UnwindSafe for TypedEvent
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
§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