public inbox for yew-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: Yew framework devel list at Proxmox <yew-devel@lists.proxmox.com>,
	Stefan Hanreich <s.hanreich@proxmox.com>
Subject: [yew-devel] applied: [PATCH proxmox-yew-widget-toolkit 1/1] store: implement FromIterator
Date: Sat, 25 Jan 2025 17:57:34 +0100	[thread overview]
Message-ID: <730ae3ae-d6b5-4f7a-b507-84d8091f5014@proxmox.com> (raw)
In-Reply-To: <20250122154922.270644-1-s.hanreich@proxmox.com>

Am 22.01.25 um 16:49 schrieb Stefan Hanreich:
> Enables better ergonomics for building stores from iterators and
> is generally considered nice to have for structs representing some
> form of collection.
> 
> For example:
> 
> ```
> self.store = Store::new();
> 
> store.set_data(
>    it.collect()
> );
> ```
> 
> vs
> 
> ```
> self.store = it.collect()
> ```
> 
> or
> 
> ```
> Store::from_iter(it)
> ```
> 
> Signed-off-by: Stefan Hanreich <s.hanreich@proxmox.com>
> ---
>  src/state/store.rs | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
> 
>

applied, thanks!


_______________________________________________
yew-devel mailing list
yew-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/yew-devel


      reply	other threads:[~2025-01-25 16:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-22 15:49 [yew-devel] " Stefan Hanreich
2025-01-25 16:57 ` Thomas Lamprecht [this message]

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=730ae3ae-d6b5-4f7a-b507-84d8091f5014@proxmox.com \
    --to=t.lamprecht@proxmox.com \
    --cc=s.hanreich@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
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal