pub struct Circuit {
pub arch: String,
pub description: String,
pub nodes: Vec<Node>,
pub edges: Vec<Edge>,
pub blocks: Vec<BlockInstance>,
pub layer_kinds: Vec<LayerKind>,
pub dims: BTreeMap<String, u64>,
pub states: Vec<StateDecl>,
}Expand description
2026-09-28: An instantiated circuit.
Fields§
§arch: String2026-09-28: The arch id of the TOML it came from (qwen3_5).
description: String2026-09-28: The TOML’s one-line description.
nodes: Vec<Node>2026-09-28: Nodes in execution order.
edges: Vec<Edge>2026-09-28: All edges.
blocks: Vec<BlockInstance>2026-09-28: Blocks in execution order.
layer_kinds: Vec<LayerKind>2026-09-28: Layer kinds, from the arch shape.
dims: BTreeMap<String, u64>2026-09-28: The dims every expression was evaluated under.
states: Vec<StateDecl>2026-09-30: The state every block keeps between steps, in block order.
Implementations§
Trait Implementations§
impl Eq for Circuit
impl StructuralPartialEq for Circuit
Auto Trait Implementations§
impl Freeze for Circuit
impl RefUnwindSafe for Circuit
impl Send for Circuit
impl Sync for Circuit
impl Unpin for Circuit
impl UnwindSafe for Circuit
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.