Crate const_util

Source
Expand description

Provides stable const implementations for some things missing from the standard library.

Currently implemented are

Re-exports§

pub use type_const;

Modules§

concat
Functions for concatenating slices
mem
Functions related to core::mem and core::ptr
result
Functions for unwrapping Results

Macros§

destruct_tuple
Allows destructuring tuples in const contexts, regardless of items having drop glue.

Traits§

Const
Describes a type const.

Functions§

value_of
Alias for Const::VALUE. Prefer this function over accessing the const directly.