mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-20 03:18:06 +08:00
Implement cons node
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user