pub type P1 = PInt<U1>;
Aliased Type§
pub struct P1 { /* private fields */ }
Implementations
Trait Implementations§
Source§impl<Ul, Ur: Unsigned + NonZero> Add<NInt<Ur>> for PInt<Ul>
P(Ul) + N(Ur)
: We resolve this with our PrivateAdd
impl<Ul, Ur: Unsigned + NonZero> Add<NInt<Ur>> for PInt<Ul>
P(Ul) + N(Ur)
: We resolve this with our PrivateAdd
Source§impl<Pl: Cmp<Pr> + Unsigned + NonZero, Pr: Unsigned + NonZero> Cmp<PInt<Pr>> for PInt<Pl>
X <==> Y
impl<Pl: Cmp<Pr> + Unsigned + NonZero, Pr: Unsigned + NonZero> Cmp<PInt<Pr>> for PInt<Pl>
X <==> Y
Source§impl<U: Ord + Unsigned + NonZero> Ord for PInt<U>
impl<U: Ord + Unsigned + NonZero> Ord for PInt<U>
Source§impl<U: PartialOrd + Unsigned + NonZero> PartialOrd for PInt<U>
impl<U: PartialOrd + Unsigned + NonZero> PartialOrd for PInt<U>
Source§impl<Ul, Ur: Unsigned + NonZero> Sub<PInt<Ur>> for PInt<Ul>
P(Ul) - P(Ur)
: We resolve this with our PrivateAdd
impl<Ul, Ur: Unsigned + NonZero> Sub<PInt<Ur>> for PInt<Ul>
P(Ul) - P(Ur)
: We resolve this with our PrivateAdd
impl<U: Copy + Unsigned + NonZero> Copy for PInt<U>
impl<U: Eq + Unsigned + NonZero> Eq for PInt<U>
impl<U: Unsigned + NonZero> NonZero for PInt<U>
impl<U: Unsigned + NonZero + PowerOfTwo> PowerOfTwo for PInt<U>
impl<U: Unsigned + NonZero> StructuralPartialEq for PInt<U>
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 0 bytes