typenum
1.17.0
P1
Aliased type
Fields
n
Trait Implementations
Pow<NInt<U>>
In typenum::
consts
Type Alias
typenum
::
consts
::
P1
Copy item path
source
·
[
−
]
pub type P1 =
PInt
<
U1
>;
Aliased Type
§
struct P1 { pub(crate) n:
UInt
<
UTerm
,
B1
>, }
Fields
§
§
n:
UInt
<
UTerm
,
B1
>
Trait Implementations
§
source
§
impl<U:
Unsigned
+
NonZero
>
Pow
<
NInt
<U>> for
P1
1^N = 1
source
§
type
Output
=
PInt
<
UInt
<
UTerm
,
B1
>>
The result of the exponentiation.
source
§
fn
powi
(self, _:
NInt
<U>) -> Self::
Output
This function isn’t used in this crate, but may be useful for others. It is implemented for primitives.
Read more