Module abi_stable::const_utils
source · Expand description
Utilities for const contexts.
Functions§
- Gets the absolute value of a usize subtraction.
- Creates an empty slice.
- The base 2 logarithm of a usize.
- Gets a u64 where the lowest
bit_count
bits are ones and the rest are zeroes. - The maximum of two
u64
s - The maximum of two
usize
s - The minimum and maximum of two
usize
s - The minimum of two
u64
s - The minimum of two
u64
s - The minimum of two
u64
s - The minimum of two
usize
s