`support/num_traits`: AsPrimitive
- Ngôn ngữ chính
- Rust
- Star
- 225
- Fork
- 70
- Merge trung bình
- 16 giờ 54 phút
- Pull request đã merge (30 ngày)
- 8
Mô tả
*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)*
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.