jakobhellermann / bevy-inspector-egui

Inspector plugin for the bevy game engine
Apache License 2.0
1.15k stars 169 forks source link

the trait `Inspectable` is not implemented for `VecDeque<T>` #56

Closed foxzool closed 2 years ago

foxzool commented 2 years ago
#[cfg_attr(feature = "debug", derive(bevy_inspector_egui::Inspectable))]
#[derive(Debug, Clone,  Default, Component, Reflect, Serialize, Deserialize)]
#[reflect_value(Component,  Serialize, Deserialize)]
pub struct ActorMission {
    pub move_command: VecDeque<MoveCommand>
}

I add inpsectable trait for struct, but got the trait Inspectable is not implemented for VecDeque<movement::component::MoveCommand>

jakobhellermann commented 2 years ago

fixed it in the newly released version