Implement Debug
for dynamic types (#5948)
# Objective When trying derive `Debug` for type that has `DynamicEnum` it wasn't possible, since neither of `DynamicEnum`, `DynamicTuple`, `DynamicVariant` or `DynamicArray` implements `Debug`. ## Solution Implement Debug for those types, using `derive` macro --- ## Changelog - `DynamicEnum`, `DynamicTuple`, `DynamicVariant` and `DynamicArray` now implements `Debug`
This commit is contained in:
parent
b6efe0f318
commit
91a235e6d6
@ -117,6 +117,7 @@ impl ArrayInfo {
|
||||
/// can be mutated— just that the _number_ of items cannot change.
|
||||
///
|
||||
/// [`DynamicList`]: crate::DynamicList
|
||||
#[derive(Debug)]
|
||||
pub struct DynamicArray {
|
||||
pub(crate) name: String,
|
||||
pub(crate) values: Box<[Box<dyn Reflect>]>,
|
||||
|
Loading…
Reference in New Issue
Block a user