Function std::uint::next_power_of_two_opt

pub fn next_power_of_two_opt(n: uint) -> Option<uint>

Returns the smallest power of 2 greater than or equal to n