pub struct StateCellId(pub u64);Expand description
Opaque per-signal handle, STATE-assigned (scheduler.md: “STATE-owned opaque
handle”; ledger ST-109, ST-111, SC-037). Distinct from sv_sim_abi::SlotId:
SlotId is the ABI-facing, compile-time-constant index CODEGEN bakes into IR;
StateCellId is the in-process (non-FFI) handle the scheduler/determinism/
runtime Rust code passes around at simulation time. STATE’s own implementation
is free to make them numerically related, but the two names stay distinct
contract types because their callers (CODEGEN vs. the scheduler) are on
opposite sides of the ABI boundary.
Tuple Fields§
§0: u64Trait Implementations§
Source§impl Clone for StateCellId
impl Clone for StateCellId
impl Copy for StateCellId
Source§impl Debug for StateCellId
impl Debug for StateCellId
impl Eq for StateCellId
Source§impl Hash for StateCellId
impl Hash for StateCellId
Source§impl Ord for StateCellId
impl Ord for StateCellId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for StateCellId
impl PartialEq for StateCellId
Source§impl PartialOrd for StateCellId
impl PartialOrd for StateCellId
impl StructuralPartialEq for StateCellId
Auto Trait Implementations§
impl Freeze for StateCellId
impl RefUnwindSafe for StateCellId
impl Send for StateCellId
impl Sync for StateCellId
impl Unpin for StateCellId
impl UnsafeUnpin for StateCellId
impl UnwindSafe for StateCellId
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.