mirror of
https://codeberg.org/unspeaker/tengri.git
synced 2025-12-06 19:56:44 +01:00
FromDsl -> Namespace
This commit is contained in:
parent
455d6d00d5
commit
f714302f21
8 changed files with 33 additions and 32 deletions
|
|
@ -13,7 +13,7 @@ use crate::*;
|
|||
//// Provides components to the view.
|
||||
//#[cfg(feature = "dsl")]
|
||||
//pub trait ViewContext<'state, E: Output + 'state>:
|
||||
//FromDsl<bool> + FromDsl<usize> + FromDsl<E::Unit> + Send + Sync
|
||||
//Namespace<bool> + Namespace<usize> + Namespace<E::Unit> + Send + Sync
|
||||
//{
|
||||
//fn get_content_sym <'source: 'state> (&'state self, iter: &mut TokenIter<'source>)
|
||||
//-> Perhaps<RenderBox<'state, E>>;
|
||||
|
|
@ -39,7 +39,7 @@ use crate::*;
|
|||
//}
|
||||
|
||||
//#[cfg(feature = "dsl")]
|
||||
//impl<'context, O: Output + 'context, T: ViewContext<'context, O>> FromDsl<T> for RenderBox<'context, O> {
|
||||
//impl<'context, O: Output + 'context, T: ViewContext<'context, O>> Namespace<T> for RenderBox<'context, O> {
|
||||
//fn take_from <'state, 'source: 'state> (state: &'state T, token: &mut TokenIter<'source>)
|
||||
//-> Perhaps<RenderBox<'context, O>>
|
||||
//{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue