typenum
0.0.1
P1
Aliased type
Trait Implementations
Pow<NInt<U>>
In typenum::
consts
typenum
::
consts
Type Alias
P1
Copy item path
Source
pub type P1 =
PInt
<
U1
>;
Aliased Type
§
struct P1 {
/* private fields */
}
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