Struct interoptopus_backend_cpython_cffi::Config [−][src]
pub struct Config {
pub init_api_function_name: String,
pub ffi_attribute: String,
pub raw_fn_namespace: String,
pub callback_namespace: String,
}
Expand description
Configures Python code generation.
Fields
init_api_function_name: String
How to name the function responsible for loading the DLL, e.g., init_api
.
ffi_attribute: String
Attribute by which the cffi
object is exposed, e.g., ffi
.
raw_fn_namespace: String
Namespace to put functions into, e.g., api
.
callback_namespace: String
Namespace for callback helpers, e.g., callbacks
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Config
impl UnwindSafe for Config
Blanket Implementations
Mutably borrows from an owned value. Read more