Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The hokey-pokey design pattern #236

Open
alice-i-cecile opened this issue Apr 14, 2023 · 0 comments
Open

The hokey-pokey design pattern #236

alice-i-cecile opened this issue Apr 14, 2023 · 0 comments
Labels
content Words to fill the page

Comments

@alice-i-cecile
Copy link
Contributor

Subtitle

Put your element in, take your element out

[Optional] Outline

Common pattern in Rust to deal with ownership and split borrows.

Take an element out of a collection, operate on it, put it back in.

[Optional] Supporting links

Usage in the wild! bevyengine/bevy#8387

@alice-i-cecile alice-i-cecile added the content Words to fill the page label Apr 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content Words to fill the page
Projects
None yet
Development

No branches or pull requests

1 participant