Function core::num::next_power_of_two[src]
pub fn next_power_of_two<T: Unsigned + Int>(n: T) -> T
Returns the smallest power of 2 greater than or equal to n.
pub fn next_power_of_two<T: Unsigned + Int>(n: T) -> T
Returns the smallest power of 2 greater than or equal to n.
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct (or str), enum,
trait, typedef (or
tdef).