Implement the Gaussian Blur node (#933)

This commit is contained in:
Dennis Kobert
2022-12-31 21:12:02 +01:00
committed by Keavon Chambers
parent 74bfd630a9
commit a9601ab164
11 changed files with 578 additions and 51 deletions

View File

@@ -2,7 +2,7 @@ use core::marker::PhantomData;
use crate::{AsRefNode, Node, RefNode};
#[derive(Debug)]
#[derive(Debug, Clone, Copy)]
pub struct ComposeNode<First, Second, Input> {
first: First,
second: Second,
@@ -56,7 +56,6 @@ where
(self.second).eval_ref(arg)
}
}
#[cfg(feature = "std")]
impl<Input: 'static, First: 'static, Second: 'static> dyn_any::StaticType for ComposeNode<First, Second, Input> {
type Static = ComposeNode<First, Second, Input>;
}