`support/num_traits`: AsPrimitive
- Dominant language
- Rust
- Stars
- 225
- Forks
- 70
- Avg merge
- 16h 54m
- Merged PRs (30d)
- 8
Description
*On 2023-08-28 @recmo wrote in [`585c5ce`](https://github.com/recmo/uint/commit/585c5ceb8cabe04c17ad4b8f4d835d3ea0328d60) “Merge pull request #298 from recmo/num-traits”:*
AsPrimitive
```rust
pow::Pow,
sign::Unsigned,
CheckedEuclid, Euclid, Inv, MulAdd, MulAddAssign, Num, NumCast,
};
// TODO: AsPrimitive
// Note. We can not implement `NumBytes` as it requires T to be `AsMut<[u8]>`.
// This is not safe for `Uint` when `BITS % 8 != 0`.
impl Zero for Uint {
```
*From [`src/support/num_traits.rs:29`](https://github.com/recmo/uint/blob/585c5ceb8cabe04c17ad4b8f4d835d3ea0328d60/src/support/num_traits.rs#L29)*
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.