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
sThe maximum of two
usize
sThe minimum and maximum of two
usize
sThe minimum of two
u64
sThe minimum of two
u64
sThe minimum of two
u64
sThe minimum of two
usize
sSaturating substraction of
u8
s.Saturating substraction of
usize
s.