#[repr(C, align(64))]pub struct ArchetypeHeader {
pub active_count: u32,
pub next_id: u32,
pub emergence_events: u64,
pub decay_events: u64,
pub last_emergence_ms: u64,
pub _pad: [u8; 16352],
}Fields§
§active_count: u32§next_id: u32§emergence_events: u64§decay_events: u64Same status as HebbianHeader::decay_event_count: part of the page
layout, no producer (ArchetypeState::decay performs the event and
returns nothing), and no consumer.
last_emergence_ms: u64§_pad: [u8; 16352]Implementations§
Source§impl ArchetypeHeader
impl ArchetypeHeader
pub const HEADER_BYTES: usize = 32
pub fn to_bytes(&self) -> [u8; 16384]
pub fn from_bytes(buf: &[u8]) -> Self
Trait Implementations§
Source§impl Clone for ArchetypeHeader
impl Clone for ArchetypeHeader
impl Copy for ArchetypeHeader
Source§impl Debug for ArchetypeHeader
impl Debug for ArchetypeHeader
Auto Trait Implementations§
impl Freeze for ArchetypeHeader
impl RefUnwindSafe for ArchetypeHeader
impl Send for ArchetypeHeader
impl Sync for ArchetypeHeader
impl Unpin for ArchetypeHeader
impl UnsafeUnpin for ArchetypeHeader
impl UnwindSafe for ArchetypeHeader
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more