macro_rules! pyobject_native_type {
($name:ty, $layout:path, $typeobject:expr $(, #module=$module:expr)? $(, #checkfunction=$checkfunction:path)? $(;$generics:ident)*) => { ... };
}
Expand description
Declares all of the boilerplate for Python types which can be inherited from (because the exact Python layout is known).