pub struct StatePlan {
pub terms: Vec<StateTerm>,
}Expand description
2026-09-30: Every state of a circuit, sized.
Fields§
§terms: Vec<StateTerm>Implementations§
Source§impl StatePlan
impl StatePlan
Sourcepub fn new(
states: &[StateDecl],
inputs: &StateInputs,
) -> Result<Self, StateError>
pub fn new( states: &[StateDecl], inputs: &StateInputs, ) -> Result<Self, StateError>
2026-09-30: Size every state of states (a circuit’s Circuit::states, or the
declarations of one block) under inputs. 2026-10-02: Cache kinds
(StateKind::is_cache) are left out: memory::caches sizes them.
Trait Implementations§
impl Eq for StatePlan
impl StructuralPartialEq for StatePlan
Auto Trait Implementations§
impl Freeze for StatePlan
impl RefUnwindSafe for StatePlan
impl Send for StatePlan
impl Sync for StatePlan
impl Unpin for StatePlan
impl UnwindSafe for StatePlan
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.