☰
pallet_utils
All crates
?
Function
pallet_utils
::
log_2
[
−
]
[src]
pub fn log_2(x:
u32
) ->
Option
<
u32
>
Returns
None
for
x == 0
.