Macro physx::DeriveClassForNewType
source · macro_rules! DeriveClassForNewType { ($PxWrap:ident : $($PxClass:ident),+) => { ... }; }
Expand description
Macro for quickly defining Class<…> impls for new type wrappers. The type must be repr(transparent), and have the Px object in a field named obj. Will not work if the type parameters have trait bounds.