Module const_panic::utils[][src]

This is supported on crate feature non_basic only.
Expand description

Utility functions

Functions

Flattens a &[&[PanicVal<'a>]] into a [PanicVal<'a>; LEN].

Gets the maximum value betweem l and r

For coercing a &[PanicVal<'_>; LEN] into a &[PanicVal<'_>].

Gets the maximum value in slice, returns 0 if the slice is empty.