feat: get full evaluation back online

Very hacky, but this is enough to be finished with the graph IR for now.
This commit is contained in:
multisn8 2024-01-21 04:21:33 +01:00
parent 3c529c3a1a
commit 3e208335c3
Signed by: multisamplednight
GPG key ID: 6D525AA147CBDAE2
9 changed files with 105 additions and 26 deletions

View file

@ -49,7 +49,7 @@ impl Input {
///
/// In contrast to [`Input`]s, [`Output`]s may be used or unused.
#[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash, Serialize, Deserialize)]
pub struct Output(pub(super) Socket);
pub struct Output(pub Socket); // TODO: Restrict publicness to super
impl Output {
#[must_use]
@ -75,7 +75,7 @@ pub struct Socket {
/// This really only serves for denoting where a socket is,
/// when it's already clear which instruction is referred to.
#[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Serialize, Deserialize)]
pub struct SocketIdx(pub u16);
pub struct SocketIdx(pub u16); // TODO: Restrict publicness to super
impl fmt::Debug for SocketIdx {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {