pub enum FrameSlot {
Narrow4State {
word_count: u16,
},
Wide4State {
aval_word_count: u32,
bval_word_count: u32,
},
Array {
rows: u32,
row_words: u16,
},
}Expand description
One frame slot’s compile-time SHAPE only (process.md §3 FrameSlot/
FourStateI2N/WideFourState; ledger ST-103..ST-105): the number of u64
words the slot’s payload occupies. This is layout metadata CODEGEN consumes
when computing a TEMPLATE’s fixed frame offsets (“Frame slot layout is
decided once per process TEMPLATE… handed to codegen as a fixed struct
layout”) — never the runtime payload itself, which is why it carries
counts, not Vec<u64> data (see ActivationRecord’s doc comment for why
that distinction is load-bearing).
Variants§
Narrow4State
Wide4State
Array
A fixed-size unpacked-array local: rows rows (all dimensions
flattened, lowest index first) of row_words words each, a row
holding one element’s packed value.
Trait Implementations§
impl Copy for FrameSlot
impl Eq for FrameSlot
impl StructuralPartialEq for FrameSlot
Auto Trait Implementations§
impl Freeze for FrameSlot
impl RefUnwindSafe for FrameSlot
impl Send for FrameSlot
impl Sync for FrameSlot
impl Unpin for FrameSlot
impl UnsafeUnpin for FrameSlot
impl UnwindSafe for FrameSlot
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.