initiative_
core
0.1.0
In initiative_
core::
world
initiative_core
::
world
Function
weighted_index_from_tuple
Copy item path
Source
fn weighted_index_from_tuple<'a, T>( rng: &mut impl
Rng
, input: &'a [(T,
usize
)], ) ->
&'a T