Crate unc_stdx

source ·
Expand description

stdx crate contains polyfills which should really be in std, but currently aren’t for one reason or another.

Structs§

Functions§

  • Splits a slice into a slice of N-element arrays.
  • Like as_chunks but returns an error if there’s a remainder.
  • Joins [u8; L] and [u8; R] into [u8; L + R].
  • Splits &[u8; L + R] into (&[u8; L], &[u8; R]).
  • Splits &mut [u8; L + R] into (&mut [u8; L], &mut [u8; R]).