MCPcopy Create free account
hub / github.com/PyO3/pyo3 / AddClassToModule

Class AddClassToModule

src/impl_/pymodule.rs:536–536  ·  view source on GitHub ↗

For adding a class to a module.

Source from the content-addressed store, hash-verified

534
535/// For adding a class to a module.
536pub struct AddClassToModule<T>(PhantomData<T>);
537
538impl<T> AddClassToModule<T> {
539 #[allow(clippy::new_without_default)]

Callers 1

newMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected