fn validate_trait(trait_item: &ItemTrait) -> Result<()>Expand description
Validate that the trait meets requirements for ABI generation.
ยงConstraints
- All methods must have
&selfor&mut selfreceiver - Methods cannot be async
- Methods cannot have generic parameters
- Generic type parameters on the trait itself are allowed