Expand description
Utilities for const contexts.
Functions§
- abs_
sub_ usize - Gets the absolute value of a usize subtraction.
- empty_
slice - Creates an empty slice.
- log2_
usize - The base 2 logarithm of a usize.
- low_
bit_ mask_ u64 - Gets a u64 where the lowest
bit_count
bits are ones and the rest are zeroes. - max_u64
- The maximum of two
u64
s - max_
usize - The maximum of two
usize
s - min_
max_ usize - The minimum and maximum of two
usize
s - min_u8
- The minimum of two
u64
s - min_u16
- The minimum of two
u64
s - min_u64
- The minimum of two
u64
s - min_
usize - The minimum of two
usize
s