[][src]Module abi_stable::const_utils

Utilities for const contexts.

Structs

AssertEq

Struct used to assert that its type parameters are the same type.

Functions

empty_slice

Creates an empty slice.

max_u64

The maximum of two u64s

max_usize

The maximum of two usizes

min_u64

The minimum of two u64s

min_usize

The minimum of two usizes

Unions

Transmuter

Allows transmuting between From_:Copy and To:Copy