You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'll say this closes#380.
We could go further and add a type parameter in `Hugr<T: NodeHandle>`,
but that would probably be annoying to use and it'd break the pyo3
machinery.
Instead, most things should be interfacing via `HugrView`. #284 / #293
will move the builder references to views instead, so we will be able to
statically check the root type.
… HugrMut (#402)
First step of #284
Moves the mutating methods to a sealed trait, and makes `HugrMut` `pub`.
It also relates it to `HugrView` via a borrowing method.
HugrView
,HugrMut
,AsMut
,AsRef
,Buildable
, ...#281 (comment)
Steps:
s/HugrMut/HugrInternalsMut/
as a sealed trait, and expose a minimal HugrMut #402HugrMut
) Mutable views #293RootHandle
s).The text was updated successfully, but these errors were encountered: