mirror of
https://codeberg.org/unspeaker/tengri.git
synced 2025-12-06 19:56:44 +01:00
wip: fix(dsl): kinda patch it up
This commit is contained in:
parent
e72225f83c
commit
d99b20c99d
3 changed files with 253 additions and 239 deletions
|
|
@ -392,7 +392,7 @@ transform_xy_unit!("padding/x" "padding/y" "padding/xy"|self: Padding, area|{
|
|||
//)*) => {
|
||||
//$(
|
||||
//impl<S,$($($A),+)?> FromDsl<S> for $Struct$(<$($A),+>)? {
|
||||
//fn try_dsl_from (
|
||||
//fn try_from_dsl (
|
||||
//state: &S, dsl: &impl Dsl
|
||||
//) -> Perhaps<Self> {
|
||||
//todo!()
|
||||
|
|
@ -408,7 +408,7 @@ transform_xy_unit!("padding/x" "padding/y" "padding/xy"|self: Padding, area|{
|
|||
$op:literal $(/)? [$head: ident, $tail: ident] $expr:expr
|
||||
) => {
|
||||
impl<S,$($($A),+)?> FromDsl<S> for $Struct$(<$($A),+>)? {
|
||||
fn try_dsl_from (
|
||||
fn try_from_dsl (
|
||||
_state: &S, _dsl: &impl Dsl
|
||||
) -> Perhaps<Self> {
|
||||
todo!()
|
||||
|
|
@ -423,7 +423,7 @@ transform_xy_unit!("padding/x" "padding/y" "padding/xy"|self: Padding, area|{
|
|||
$op:literal $(/)? [$head: ident, $tail: ident] $expr:expr
|
||||
) => {
|
||||
impl<S,$($($A),+)?> FromDsl<S> for $Struct$(<$($A),+>)? {
|
||||
fn try_dsl_from (
|
||||
fn try_from_dsl (
|
||||
_state: &S, _dsl: &impl Dsl
|
||||
) -> Perhaps<Self> {
|
||||
todo!()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue