pub struct SlotLocation {
pub class: SlotClass,
pub word_offset: u32,
pub bit_width: u32,
pub elem_word_count: u32,
pub row_stride_words: u32,
pub num_rows: u32,
}Expand description
The already-absolute (base already added) address StateEngine::commit_write
reads/writes at; both InstanceHandle-relative accessor calls and
StateCellId-keyed calls resolve down to this shape before calling in.
Task 11 (ST-137, ST-138) adds row_stride_words/num_rows, mirroring
super::SlotOffset’s own field suffix (ST-144) — a SlotClass::Memory
slot’s own per-row word stride and total row count, both stable
template constants copied straight through from the owning SlotOffset
(never recomputed here). Every non-memory SlotLocation this crate builds
sets both to 0 (mechanical ripple, matching SlotOffset’s own
established convention for a non-memory slot).
Fields§
§class: SlotClass§word_offset: u32§bit_width: u32§elem_word_count: u32§row_stride_words: u32§num_rows: u32Trait Implementations§
Source§impl Clone for SlotLocation
impl Clone for SlotLocation
impl Copy for SlotLocation
Source§impl Debug for SlotLocation
impl Debug for SlotLocation
impl Eq for SlotLocation
Source§impl PartialEq for SlotLocation
impl PartialEq for SlotLocation
impl StructuralPartialEq for SlotLocation
Auto Trait Implementations§
impl Freeze for SlotLocation
impl RefUnwindSafe for SlotLocation
impl Send for SlotLocation
impl Sync for SlotLocation
impl Unpin for SlotLocation
impl UnsafeUnpin for SlotLocation
impl UnwindSafe for SlotLocation
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.