Skip to content

feat: add blanket IntoAttributeValue impl for references#5447

Open
tmchow wants to merge 1 commit intoDioxusLabs:mainfrom
tmchow:feat/into-attribute-value-ref
Open

feat: add blanket IntoAttributeValue impl for references#5447
tmchow wants to merge 1 commit intoDioxusLabs:mainfrom
tmchow:feat/into-attribute-value-ref

Conversation

@tmchow
Copy link
Copy Markdown

@tmchow tmchow commented Apr 4, 2026

Summary

Adds a blanket IntoAttributeValue implementation for &T where T: IntoAttributeValue + Clone.

Closes #5444

This contribution was developed with AI assistance (Claude Code).

Adds `impl<T: IntoAttributeValue + Clone> IntoAttributeValue for &T` so
users don't need to explicitly dereference or clone when passing references
to RSX attributes.

Closes DioxusLabs#5444
@tmchow tmchow requested a review from a team as a code owner April 4, 2026 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Convinience Impl for IntoAttributeValue

1 participant