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 u64s
The maximum of two usizes
The minimum and maximum of two usizes
The minimum of two u64s
The minimum of two u64s
The minimum of two u64s
The minimum of two usizes
Saturating substraction of u8s.
Saturating substraction of usizes.