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
|
|
@ -70,7 +70,7 @@ impl ToTokens for ViewDef {
|
|||
/// Gives [#view] the ability to construct the [Render]able
|
||||
/// which might corresponds to a given [TokenStream],
|
||||
/// while taking [#view]'s state into consideration.
|
||||
impl<'source> ::tengri::dsl::FromDsl<'source, #view> for Box<dyn Render<#output> + 'source> {
|
||||
impl<'source> ::tengri::dsl::Namespace<'source, #view> for Box<dyn Render<#output> + 'source> {
|
||||
fn take_from <'state> (
|
||||
state: &'state #view,
|
||||
words: &mut ::tengri::dsl::TokenIter<'source>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue