Struct necsim_core::event::PackedEvent
source · #[repr(C)]pub struct PackedEvent { /* private fields */ }
Implementations§
source§impl PackedEvent
impl PackedEvent
pub fn event_time(&self) -> PositiveF64
Trait Implementations§
source§impl Clone for PackedEvent
impl Clone for PackedEvent
source§fn clone(&self) -> PackedEvent
fn clone(&self) -> PackedEvent
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 PackedEvent
impl ComputeTypeSet for PackedEvent
§type Output<__TypeSetRest: ExpandTypeSet> = <<<<<<__TypeSetRest as ComputeSet>::Output<GlobalLineageReference> as ComputeSet>::Output<IndexedLocation> as ComputeSet>::Output<IndexedLocation> as ComputeSet>::Output<f64> as ComputeSet>::Output<f64> as ComputeSet>::Output<GlobalLineageReference>
type Output<__TypeSetRest: ExpandTypeSet> = <<<<<<__TypeSetRest as ComputeSet>::Output<GlobalLineageReference> as ComputeSet>::Output<IndexedLocation> as ComputeSet>::Output<IndexedLocation> as ComputeSet>::Output<f64> as ComputeSet>::Output<f64> 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 PackedEvent
impl Debug for PackedEvent
source§impl<'de> Deserialize<'de> for PackedEvent
impl<'de> Deserialize<'de> for PackedEvent
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<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 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<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.
source§impl Hash for PackedEvent
impl Hash for PackedEvent
source§impl Ord for PackedEvent
impl Ord for PackedEvent
source§impl PartialEq for PackedEvent
impl PartialEq for PackedEvent
source§impl PartialOrd for PackedEvent
impl PartialOrd for PackedEvent
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for PackedEvent
impl Serialize for PackedEvent
source§impl TypeLayout for PackedEvent
impl TypeLayout for PackedEvent
§type Inhabited = <And<<GlobalLineageReference as TypeLayout>::Inhabited, <And<<f64 as TypeLayout>::Inhabited, <And<<f64 as TypeLayout>::Inhabited, <And<<IndexedLocation as TypeLayout>::Inhabited, <And<<IndexedLocation as TypeLayout>::Inhabited, <And<<GlobalLineageReference as TypeLayout>::Inhabited, Inhabited> as ComputeInhabited>::Output> as ComputeInhabited>::Output> as ComputeInhabited>::Output> as ComputeInhabited>::Output> as ComputeInhabited>::Output> as ComputeInhabited>::Output
type Inhabited = <And<<GlobalLineageReference as TypeLayout>::Inhabited, <And<<f64 as TypeLayout>::Inhabited, <And<<f64 as TypeLayout>::Inhabited, <And<<IndexedLocation as TypeLayout>::Inhabited, <And<<IndexedLocation as TypeLayout>::Inhabited, <And<<GlobalLineageReference as TypeLayout>::Inhabited, Inhabited> as ComputeInhabited>::Output> as ComputeInhabited>::Output> 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 PackedEvent
Auto Trait Implementations§
impl Freeze for PackedEvent
impl RefUnwindSafe for PackedEvent
impl Send for PackedEvent
impl Sync for PackedEvent
impl Unpin for PackedEvent
impl UnwindSafe for PackedEvent
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.