diff --git a/src/choices.rs b/src/choices.rs index 1913164..425fe8f 100644 --- a/src/choices.rs +++ b/src/choices.rs @@ -28,7 +28,7 @@ impl Choice { } /// Builds a new [`Choice`]. -#[derive(Debug, Reflect)] +#[derive(Clone, Debug, Reflect)] #[reflect(from_reflect = false)] pub struct ChoiceBuilder { when_label: Option, diff --git a/src/thinker.rs b/src/thinker.rs index 7dac192..e028510 100644 --- a/src/thinker.rs +++ b/src/thinker.rs @@ -160,7 +160,7 @@ impl Thinker { /// This is what you actually use to configure Thinker behavior. It's a plain /// old [`ActionBuilder`], as well. -#[derive(Component, Debug, Default)] +#[derive(Component, Clone, Debug, Default)] pub struct ThinkerBuilder { picker: Option>, otherwise: Option,