Struct necsim_impls_std::event_log::EventLogHeader
source · pub struct EventLogHeader { /* private fields */ }
Implementations§
source§impl EventLogHeader
impl EventLogHeader
pub fn new( min_time: PositiveF64, max_time: PositiveF64, length: usize, with_speciation: bool, with_dispersal: bool ) -> Self
pub fn min_time(&self) -> PositiveF64
pub fn max_time(&self) -> PositiveF64
pub fn length(&self) -> usize
pub fn with_speciation(&self) -> bool
pub fn with_dispersal(&self) -> bool
Trait Implementations§
source§impl Debug for EventLogHeader
impl Debug for EventLogHeader
source§impl<'de> Deserialize<'de> for EventLogHeader
impl<'de> Deserialize<'de> for EventLogHeader
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 PartialEq for EventLogHeader
impl PartialEq for EventLogHeader
source§fn eq(&self, other: &EventLogHeader) -> bool
fn eq(&self, other: &EventLogHeader) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for EventLogHeader
impl PartialOrd for EventLogHeader
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 EventLogHeader
impl Serialize for EventLogHeader
impl Eq for EventLogHeader
impl StructuralPartialEq for EventLogHeader
Auto Trait Implementations§
impl Freeze for EventLogHeader
impl RefUnwindSafe for EventLogHeader
impl Send for EventLogHeader
impl Sync for EventLogHeader
impl Unpin for EventLogHeader
impl UnwindSafe for EventLogHeader
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. 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