MCPcopy Index your code
hub / github.com/RustPython/RustPython / InterpreterBuilderExt

Interface InterpreterBuilderExt

src/interpreter.rs:4–10  ·  view source on GitHub ↗

Extension trait for InterpreterBuilder to add rustpython-specific functionality.

Source from the content-addressed store, hash-verified

2
3/// Extension trait for InterpreterBuilder to add rustpython-specific functionality.
4pub 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
12impl InterpreterBuilderExt for InterpreterBuilder {
13 #[cfg(feature = "stdlib")]

Callers

nothing calls this directly

Implementers 1

interpreter.rssrc/interpreter.rs

Calls

no outgoing calls

Tested by

no test coverage detected