1mod bits;
2mod carrying;
3mod checked;
4mod cmp;
5mod convert;
6mod endian;
7mod impls;
8mod intrinsics;
9mod math;
10mod num;
11mod overflowing;
12mod powers;
13mod saturating;
14mod strict;
15mod unchecked;
16mod widening;
17mod wrapping;
18
19use bnum::BUint;
20
21use crate::bint::{consts::consts_impl, doc};
22
23#[derive(Clone, Copy, Hash, PartialEq, Eq, PartialOrd, Ord)]
33#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
34#[cfg_attr(
35 feature = "borsh",
36 derive(borsh::BorshSerialize, borsh::BorshDeserialize, borsh::BorshSchema)
37)]
38#[repr(transparent)]
39pub struct UInt<const N: usize>(pub(super) BUint<N>);
40
41consts_impl!(UInt, U, BUint);