1 2 3 4 5 6 7 8 9 10 11 12
use crate::{Buffer, RenderContext}; use anyhow::Result; pub mod convert; pub mod map; pub trait Node { type Element: Copy + Default; fn update(&mut self, ctx: &RenderContext, out: &mut Buffer<Self::Element>) -> Result<()>; }