From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: Dietmar Maurer <dietmar@proxmox.com>,
Dominik Csapak <d.csapak@proxmox.com>,
yew-devel@lists.proxmox.com
Subject: Re: [PATCH yew-widget-toolkit v2] widget: add 'div' macro
Date: Tue, 7 Apr 2026 11:13:52 +0200 [thread overview]
Message-ID: <11794b45-58ae-4f10-810a-c6819189166b@proxmox.com> (raw)
In-Reply-To: <72bd3973-955d-41a2-a735-9ebf3a3b98f2@proxmox.com>
On 07/04/2026 10:48, Dietmar Maurer wrote:
> So far, I always found a way to restructure the rust code to make it readable,
> so Container::new().with_child("TEXT") was never a real problem.
>
> But I have to agree that it is too verbose. Maybe just a function named "div"?
>
> fn div(child: Into<Html>) -> Container { ... }
Yeah, a normal function would be fine with me.
next prev parent reply other threads:[~2026-04-07 9:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-02 13:42 Dominik Csapak
2026-04-05 9:08 ` Thomas Lamprecht
2026-04-07 7:48 ` Dominik Csapak
2026-04-07 8:49 ` Dietmar Maurer
2026-04-07 9:13 ` Thomas Lamprecht [this message]
2026-04-07 13:12 ` superseded: " Dominik Csapak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=11794b45-58ae-4f10-810a-c6819189166b@proxmox.com \
--to=t.lamprecht@proxmox.com \
--cc=d.csapak@proxmox.com \
--cc=dietmar@proxmox.com \
--cc=yew-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox