Implement cons node

This commit is contained in:
Dennis
2022-08-13 14:54:12 +02:00
committed by Keavon Chambers
parent 7f415febed
commit b06e00ce61
6 changed files with 97 additions and 213 deletions
+3 -9
View File
@@ -8,10 +8,10 @@ use alloc::boxed::Box;
#[cfg(feature = "async")]
use async_trait::async_trait;
//pub mod generic;
//pub mod ops;
//pub mod structural;
pub mod generic;
pub mod ops;
pub mod raster;
pub mod structural;
pub mod value;
pub trait Node<'n, T> {
@@ -28,12 +28,6 @@ impl<'n, N: Node<'n, T>, T> Node<'n, T> for &'n N {
}
}
pub trait NodeInput {
type Nodes;
fn new(input: Self::Nodes) -> Self;
}
trait Input<I> {
unsafe fn input(&self, input: I);
}