wip: refactored core

This commit is contained in:
🪞👃🪞 2024-09-04 23:51:35 +03:00
parent 461c60d6b3
commit c033a5618b
9 changed files with 75 additions and 67 deletions

View file

@ -2,7 +2,7 @@ use crate::*;
/// Render to output.
pub trait Render<T, U>: Send + Sync {
fn render (&self, context: &mut T) -> Perhaps<U>;
fn render (&self, to: &mut T) -> Perhaps<U>;
}
/// Options can be rendered optionally.