FromDsl -> Namespace

This commit is contained in:
🪞👃🪞 2025-05-21 00:06:36 +03:00
parent 455d6d00d5
commit f714302f21
8 changed files with 33 additions and 32 deletions

View file

@ -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>>
//{