pub fn gen_bridge_wrapper_struct(
spec: &TraitBridgeSpec<'_>,
generator: &dyn TraitBridgeGenerator,
) -> StringExpand description
Generate the wrapper struct holding the foreign object and cached fields.
Produces a struct like:
ⓘ
pub struct PythonOcrBackendBridge {
inner: Py<PyAny>,
cached_name: String,
}