wip: configuring keybinds with edn... oh my

This commit is contained in:
🪞👃🪞 2025-01-11 21:35:21 +01:00
parent f1bd9e7e88
commit 1f10c95ed0
6 changed files with 73 additions and 35 deletions

View file

@ -2,10 +2,10 @@ use crate::*;
use std::marker::PhantomData;
use EdnItem::*;
pub type EdnCallback<'a, O: Output, State> =
pub type EdnCallback<'a, O, State> =
dyn Fn(&'a State)-> RenderBox<'a, O> + Send + Sync + 'a;
pub type EdnRenderCallback<'a, O: Output, State> =
pub type EdnRenderCallback<'a, O, State> =
Box<EdnCallback<'a, O, State>>;
/// Provides values to the template