|
541 | 541 | //! [the language feature for dyn upcasting coercion]: https://github.com/rust-lang/rust/issues/65991 |
542 | 542 | //! [derive macro]: derive@crate::Reflect |
543 | 543 | //! [`'static` lifetime]: https://doc.rust-lang.org/rust-by-example/scope/lifetime/static_lifetime.html#trait-bound |
| 544 | +//! [`Array`]: crate::array::Array |
544 | 545 | //! [`Function`]: crate::func::Function |
| 546 | +//! [`DynamicArray`]: crate::array::DynamicArray |
545 | 547 | //! [derive macro documentation]: derive@crate::Reflect |
546 | 548 | //! [deriving `Reflect`]: derive@crate::Reflect |
547 | 549 | //! [type data]: TypeData |
@@ -578,7 +580,7 @@ extern crate alloc; |
578 | 580 | // Required to make proc macros work in bevy itself. |
579 | 581 | extern crate self as bevy_reflect; |
580 | 582 |
|
581 | | -mod array; |
| 583 | +pub mod array; |
582 | 584 | mod error; |
583 | 585 | mod fields; |
584 | 586 | mod from_reflect; |
@@ -653,7 +655,6 @@ pub mod prelude { |
653 | 655 | pub use crate::func::{Function, IntoFunction, IntoFunctionMut}; |
654 | 656 | } |
655 | 657 |
|
656 | | -pub use array::*; |
657 | 658 | pub use enums::*; |
658 | 659 | pub use error::*; |
659 | 660 | pub use fields::*; |
@@ -684,7 +685,7 @@ pub use erased_serde; |
684 | 685 | #[doc(hidden)] |
685 | 686 | pub mod __macro_exports { |
686 | 687 | use crate::{ |
687 | | - DynamicArray, DynamicEnum, DynamicList, DynamicMap, DynamicStruct, DynamicTuple, |
| 688 | + array::DynamicArray, DynamicEnum, DynamicList, DynamicMap, DynamicStruct, DynamicTuple, |
688 | 689 | DynamicTupleStruct, GetTypeRegistration, TypeRegistry, |
689 | 690 | }; |
690 | 691 |
|
@@ -864,7 +865,7 @@ mod tests { |
864 | 865 | }; |
865 | 866 | use static_assertions::{assert_impl_all, assert_not_impl_all}; |
866 | 867 |
|
867 | | - use super::{prelude::*, *}; |
| 868 | + use super::{array::*, prelude::*, *}; |
868 | 869 | use crate::{ |
869 | 870 | serde::{ReflectDeserializer, ReflectSerializer}, |
870 | 871 | utility::GenericTypePathCell, |
|
0 commit comments