pub struct KernelCompileConfig {
pub state_field_offsets: Vec<(String, usize)>,
pub state_schema_id: u32,
pub column_map: Vec<(String, usize)>,
pub column_count: usize,
}Expand description
Configuration for compiling a simulation kernel.
This is passed to the JIT compiler to provide field offset information.
Fields§
§state_field_offsets: Vec<(String, usize)>State field name -> byte offset mapping
state_schema_id: u32Schema ID for the state type
column_map: Vec<(String, usize)>Column name -> index mapping for series data access
column_count: usizeNumber of columns in the series
Implementations§
Trait Implementations§
Source§impl Clone for KernelCompileConfig
impl Clone for KernelCompileConfig
Source§fn clone(&self) -> KernelCompileConfig
fn clone(&self) -> KernelCompileConfig
Returns a duplicate 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 KernelCompileConfig
impl Debug for KernelCompileConfig
Source§impl Default for KernelCompileConfig
impl Default for KernelCompileConfig
Source§fn default() -> KernelCompileConfig
fn default() -> KernelCompileConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for KernelCompileConfig
impl RefUnwindSafe for KernelCompileConfig
impl Send for KernelCompileConfig
impl Sync for KernelCompileConfig
impl Unpin for KernelCompileConfig
impl UnsafeUnpin for KernelCompileConfig
impl UnwindSafe for KernelCompileConfig
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,
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