pub trait PyClass: PyTypeInfo + PyClassImpl {
type Frozen: Frozen;
}
Expand description
Types that can be used as Python classes.
The #[pyclass]
attribute implements this trait for your Rust struct -
you shouldn’t implement this trait directly.
Required Associated Types§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.