Expand description
Utility functions
Functionsยง
- bytes_
up_ to - Const equivalent of
&buffer[..upto]with saturating indexing. - flatten_
panicvals - Flattens a
&[&[PanicVal<'a>]]into a[PanicVal<'a>; LEN]. - max_
usize - Computes the maximum of
landr - min_
usize - Computes the minimum of
landr - panicvals_
id - For coercing a
&[PanicVal<'_>; LEN]into a&[PanicVal<'_>]. - slice_
max_ usize - Gets the maximum value in
slice, returns0if the slice is empty.