Expand description

Extension traits to enhance external types with useful methods.

Traits

  • Extension trait to convert a &mut _ into a &out _ by calling .as_out() on it.
  • BoxAssumeInitalloc or std
    Extension trait to .assume_init() through a Box.
  • BoxNewUninitSlicealloc or std
  • BoxUninitalloc or std
    Extension trait for uninitalized Box allocations and the optimized delayed-initialization pattern.
  • Extension trait providing a cast to the ManuallyDrop type.
  • Extension trait providing tranformations between init and uninit.
  • Extension trait to transform between [MaybeUninit<T>; N] and MaybeUninit<[T; N]>, as well as between references to each.
  • VecCapacityalloc or std
    Extension trait for Vec, allowing a non-unsafe API to interact with the backing buffer / allocation.
  • VecExtendFromReader(alloc or std) and std
    Extension trait for Vec, that grows the vec by a bounded amount of bytes, obtained when reading from R.