Enable planning (shortcut for `with_planning_mode(PlanningMode::Enabled)`)
(mut self, enabled: bool)
| 189 | |
| 190 | /// Enable planning (shortcut for `with_planning_mode(PlanningMode::Enabled)`) |
| 191 | pub fn with_planning(mut self, enabled: bool) -> Self { |
| 192 | self.planning_mode = if enabled { |
| 193 | PlanningMode::Enabled |
| 194 | } else { |
| 195 | PlanningMode::Disabled |
| 196 | }; |
| 197 | self |
| 198 | } |
| 199 | |
| 200 | /// Enable goal tracking |
| 201 | pub fn with_goal_tracking(mut self, enabled: bool) -> Self { |
no outgoing calls