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

Missing Reflect impl for VecDeque #5791

Closed
ItsDoot opened this issue Aug 25, 2022 · 0 comments
Closed

Missing Reflect impl for VecDeque #5791

ItsDoot opened this issue Aug 25, 2022 · 0 comments
Labels
A-Reflection Runtime information about types C-Enhancement A new feature

Comments

@ItsDoot
Copy link
Contributor

ItsDoot commented Aug 25, 2022

What problem does this solve or what need does it fill?

It would be nice to be able to use a queue/stack like data structure in components; VecDeque fits that.

What solution would you like?

Implement the reflect family of traits for VecDeque.

What alternative(s) have you considered?

Using Vec, which is annoying to use as a queue.

@ItsDoot ItsDoot added C-Enhancement A new feature S-Needs-Triage This issue needs to be labelled labels Aug 25, 2022
@NathanSWard NathanSWard added A-Reflection Runtime information about types and removed S-Needs-Triage This issue needs to be labelled labels Aug 25, 2022
bors bot pushed a commit that referenced this issue Sep 7, 2022
# Objective

Fixes #5791

## Solution

Implemented all the required reflection traits for `VecDeque`, taking from `Vec`'s impls.
bors bot pushed a commit that referenced this issue Sep 19, 2022
# Objective

Fixes #5791

## Solution

Implemented all the required reflection traits for `VecDeque`, taking from `Vec`'s impls.
bors bot pushed a commit that referenced this issue Sep 19, 2022
# Objective

Fixes #5791

## Solution

Implemented all the required reflection traits for `VecDeque`, taking from `Vec`'s impls.
bors bot pushed a commit that referenced this issue Sep 19, 2022
# Objective

Fixes #5791

## Solution

Implemented all the required reflection traits for `VecDeque`, taking from `Vec`'s impls.
@bors bors bot closed this as completed in b37a6ca Dec 11, 2022
alradish pushed a commit to alradish/bevy that referenced this issue Jan 22, 2023
# Objective
This is an adoption of bevyengine#5792. Fixes bevyengine#5791.

## Solution
Implemented all the required reflection traits for `VecDeque`, taking from `Vec`'s impls.

---

## Changelog
Added: `std::collections::VecDeque` now implements `Reflect` and all relevant traits.

Co-authored-by: james7132 <contact@jamessliu.com>
ItsDoot added a commit to ItsDoot/bevy that referenced this issue Feb 1, 2023
# Objective
This is an adoption of bevyengine#5792. Fixes bevyengine#5791.

## Solution
Implemented all the required reflection traits for `VecDeque`, taking from `Vec`'s impls.

---

## Changelog
Added: `std::collections::VecDeque` now implements `Reflect` and all relevant traits.

Co-authored-by: james7132 <contact@jamessliu.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Reflection Runtime information about types C-Enhancement A new feature
Projects
Status: Done
2 participants