pub struct StateLayout {
pub slots: Vec<SlotDescriptor>,
pub inline_words: u32,
pub wide_words: u32,
}Expand description
Compile-time layout for one unique (module,params) template (state.md Key
Data Structures; ledger ST-140). One StateLayout per distinct
crate::netlist::TemplateKey (Task 5’s TemplateTable maps keys to
these); inline_words/wide_words are the template-relative word counts
Arena bulk-allocators (Task 7) reserve per instance.
Fields§
§slots: Vec<SlotDescriptor>§inline_words: u32§wide_words: u32Trait Implementations§
Source§impl Clone for StateLayout
impl Clone for StateLayout
Source§impl Debug for StateLayout
impl Debug for StateLayout
Source§impl PartialEq for StateLayout
impl PartialEq for StateLayout
impl StructuralPartialEq for StateLayout
Auto Trait Implementations§
impl Freeze for StateLayout
impl RefUnwindSafe for StateLayout
impl Send for StateLayout
impl Sync for StateLayout
impl Unpin for StateLayout
impl UnsafeUnpin for StateLayout
impl UnwindSafe for StateLayout
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