bytemuck/derive/src
zachs18 39b42b8fa3
Zeroable derive custom bounds (#196)
* Add space because rust-analyzer thinks it's a weird literal otherwise.

* Add custom bounds for Zeroable.

* Cleanup custom bounds code.

* Only parse explicit bounds for Zeroable.

* Qualify syn types.

* If no explicit bounds are given, apply the default bounds.

* Add perfect derive semantics to `#[zeroable(bound = "...")]`.
2023-07-26 13:50:58 -06:00
..
lib.rs Zeroable derive custom bounds (#196) 2023-07-26 13:50:58 -06:00
traits.rs Zeroable derive custom bounds (#196) 2023-07-26 13:50:58 -06:00