futures_util
0.3.31
In futures_util::async_await::random
Function
futures_util
::
async_await
::
random
::
gen_index
Copy item path
source
ยท
[
−
]
fn gen_index(n:
usize
) ->
usize
Expand description
Return a value from
0..n
.