Extension trait for InterpreterBuilder to add rustpython-specific functionality.
| 2 | |
| 3 | /// Extension trait for InterpreterBuilder to add rustpython-specific functionality. |
| 4 | pub trait InterpreterBuilderExt { |
| 5 | /// Initialize the Python standard library. |
| 6 | /// |
| 7 | /// Requires the `stdlib` feature to be enabled. |
| 8 | #[cfg(feature = "stdlib")] |
| 9 | fn init_stdlib(self) -> Self; |
| 10 | } |
| 11 | |
| 12 | impl InterpreterBuilderExt for InterpreterBuilder { |
| 13 | #[cfg(feature = "stdlib")] |
nothing calls this directly
no outgoing calls
no test coverage detected