oa::ml::NamedStateU32

Owned dotted path and host scalar that participates in module persistence. Scalar state is intended for small algorithmic counters and flags whose value affects the next device operation but does not belong in a Matrix buffer. It is traversed and checkpointed with the same deterministic module tree as parameters and buffers.

StRust public API

Declaration

pub struct NamedStateU32 { /* private fields */ }
Public Rust declaration.

Public Methods

pub fn path(&self) -> &str
pub fn value(&self) -> u32

Public Method Documentation

pub fn path( &self ) -> &str
No public source comment is attached to this declaration.
pub fn value( &self ) -> u32
No public source comment is attached to this declaration.