pub fn assignment_ratio_to_staked<A: IdentifierT, P: PerThing128, FS>(
    ratios: Vec<Assignment<A, P>>,
    stake_of: FS
) -> Vec<StakedAssignment<A>> where
    for<'r> FS: Fn(&'r A) -> VoteWeight,
Expand description

Converts a vector of ratio assignments into ones with absolute budget value.

Note that this will NOT attempt at normalizing the result.