From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id 6E6BD1FF1CD for ; Wed, 10 Dec 2025 11:48:20 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id C988518477; Wed, 10 Dec 2025 11:49:00 +0100 (CET) From: Dominik Csapak To: yew-devel@lists.proxmox.com Date: Wed, 10 Dec 2025 11:48:47 +0100 Message-ID: <20251210104856.1698157-1-d.csapak@proxmox.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 X-SPAM-LEVEL: Spam detection results: 0 AWL -2.471 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [mod.rs, meter.rs, graph.rs, builder.rs] URIBL_DBL_SPAM 5 Contains a spam URL listed in the Spamhaus DBL blocklist [graph.rs] Subject: [yew-devel] [RFC yew-comp/yew-widget-toolkit 0/4] make RenderFn's return type generic X-BeenThere: yew-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Yew framework devel list at Proxmox List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Yew framework devel list at Proxmox Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: yew-devel-bounces@lists.proxmox.com Sender: "yew-devel" This series changes the RenderFn type to have a generic return type, which can replace our TextRenderFn and allows us to do more things with it. I send this as a preparation for some cleanups I want to do, but for those to work better, we need this way of defining RenderFn. Sending as RFC, since I'm not fully convinced this is a good idea, especially extending the builder_cb macro this way, but I could not come up with something better. The first patch in pwt is just updating the tests to new rustc output, can be applied independently, but is necessary to let the tests run currently. proxmox-yew-widget-toolkit: Dominik Csapak (3): pwt-macros: update tests to work for newer rustc pwt-macros: builder: allow multiple generic types in callback variant props: make RenderFn's return type generic pwt-macros/src/builder.rs | 19 ++++- pwt-macros/tests/builder/invalid_type.stderr | 2 +- pwt-macros/tests/widget/wrong_crate.stderr | 6 +- src/props/mod.rs | 5 +- src/props/render_function.rs | 81 +++----------------- src/touch/material_app.rs | 10 +-- src/widget/catalog_loader.rs | 6 +- src/widget/desktop_app.rs | 6 +- src/widget/meter.rs | 6 +- src/widget/theme_loader.rs | 6 +- 10 files changed, 50 insertions(+), 97 deletions(-) proxmox-yew-comp: Dominik Csapak (1): rrd: replace TextRenderFn with new generic RenderFn src/rrd/graph.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) Summary over all repositories: 11 files changed, 54 insertions(+), 101 deletions(-) -- Generated by git-murpp 0.8.1 _______________________________________________ yew-devel mailing list yew-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/yew-devel