mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 11:46:41 +01:00
wip: configuring keybinds with edn... oh my
This commit is contained in:
parent
f1bd9e7e88
commit
1f10c95ed0
6 changed files with 73 additions and 35 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue