mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-09 13:16:44 +01:00
wip: refactored core
This commit is contained in:
parent
461c60d6b3
commit
c033a5618b
9 changed files with 75 additions and 67 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue