-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
[Merged by Bors] - Add macro to implement reflect for struct types and migrate glam types #4540
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
Closed
PROMETHIA-27
wants to merge
57
commits into
bevyengine:main
from
PROMETHIA-27:glam-vec_struct_reflect_type
Closed
Changes from all commits
Commits
Show all changes
57 commits
Select commit
Hold shift + click to select a range
71a770f
Implemented impl_reflect_struct
PROMETHIA-27 5860496
Testing impl_reflect_struct
PROMETHIA-27 478d9ce
Rephrased impl_struct for from_reflect
PROMETHIA-27 650e7a7
Added from_reflect to impl_reflect_struct
PROMETHIA-27 fd4f58d
Altered impl_struct to accept a custom constructor
PROMETHIA-27 9a9aaf6
Verified trait reflection
PROMETHIA-27 401fe37
Switched all (less quats) impls to structs
PROMETHIA-27 6592abe
Removed messy temp test
PROMETHIA-27 ac61dd2
Ran cargo fmt
PROMETHIA-27 44b06ba
Added bevy_reflect path override
PROMETHIA-27 b584f14
Restored `impl_from_reflect_value` for Quat/DQuat
PROMETHIA-27 fb4c12e
Added use for impl_from_reflect_value
PROMETHIA-27 1bdefbf
Ran cargo fmt again
PROMETHIA-27 c5d8ce1
Added tests for Vec3 serialization behavior
PROMETHIA-27 ed5372f
Ran cargo fmt --all
PROMETHIA-27 44f66c9
Split parsing into a separate Parse struct
PROMETHIA-27 b6c196e
Added tests for Vec3 reflection behavior
PROMETHIA-27 cbbae2b
Merge branch 'main' into glam-vec_struct_reflect_type
PROMETHIA-27 1e7cd55
Added docstrings
PROMETHIA-27 080971d
Fixed parsing issue
PROMETHIA-27 db1cd60
Updated parsing to use custom_keyword!()
PROMETHIA-27 b83578a
Ran cargo fmt --all
PROMETHIA-27 7f46274
Added panics for enum and union cases
PROMETHIA-27 a42f5f0
Switched to attribute-based overrides
PROMETHIA-27 3ef21d9
Ran cargo fmt --all
PROMETHIA-27 b2ae524
Added doc comment link backticks
PROMETHIA-27 91e8255
Fixed doc links, ignored doc comment examples
PROMETHIA-27 1f90de7
Changed to syn::Error instead of panics
PROMETHIA-27 21cc040
Switched from syn::Error::new to new_spanned
PROMETHIA-27 133d2be
Renamed to impl_reflect_struct
PROMETHIA-27 abf7ed2
Fix use statement
PROMETHIA-27 f4c3478
Cargo fmt --all
PROMETHIA-27 8ef79e1
Add reflect(Default) to glam types
PROMETHIA-27 259ca60
Merge branch 'bevyengine:main' into glam-vec_struct_reflect_type
PROMETHIA-27 7bbff47
Add `use create::prelude::ReflectDefault`
PROMETHIA-27 cdae659
Removed explicit ctor attribute
PROMETHIA-27 d6232eb
Fixed clippy warning
PROMETHIA-27 1864fb3
Removed instances of `use bevy_reflect::Struct`
PROMETHIA-27 35bde41
Removed uses of path special attribute
PROMETHIA-27 ca0c3a5
cargo fmt --all
PROMETHIA-27 dd4c158
Updated doc comments
PROMETHIA-27 ad8637f
Fix doc space
PROMETHIA-27 907ea55
Split comment into quick and extended summaries
PROMETHIA-27 ae91dc6
Merge branch 'bevyengine:main' into glam-vec_struct_reflect_type
PROMETHIA-27 27755a3
Replace outdated explanations of special attrs
PROMETHIA-27 8b0a422
Merge branch 'glam-vec_struct_reflect_type' of https://github.com/PRO…
PROMETHIA-27 9a73dfe
Explain type must be in scope
PROMETHIA-27 68fef52
Explain example
PROMETHIA-27 467a39a
Show Vec3 in scope
PROMETHIA-27 2f63312
.into -> TokenStream::from
PROMETHIA-27 c262d94
Merge branch 'glam-vec_struct_reflect_type' of https://github.com/PRO…
PROMETHIA-27 7aa58db
Cargo fmt --all
PROMETHIA-27 05f4f0b
ctor -> constructor
PROMETHIA-27 7683aa9
ctor -> constructor
PROMETHIA-27 58e127c
ctor -> constructor
PROMETHIA-27 ca936c8
ctor -> constructor
PROMETHIA-27 b7d76fb
last ctor -> constructor batch
PROMETHIA-27 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.