(&mut self, backend: VmBackend)
| 236 | |
| 237 | impl LaunchPlan { |
| 238 | pub fn require_backend(&mut self, backend: VmBackend) { |
| 239 | if !self.required_backends.contains(&backend) { |
| 240 | self.required_backends.push(backend); |
| 241 | } |
| 242 | } |
| 243 | |
| 244 | pub fn require_backend_feature(&mut self, feature: BackendFeature) { |
| 245 | if !self.required_backend_features.contains(&feature) { |