Skip to content

1.0.0

Compare
Choose a tag to compare
@okready okready released this 04 Jun 21:42
· 45 commits to 1.x since this release

Added

  • IntoMutSliceLikePtr trait for reinterpreting pointer types to compatible
    SliceLike pointers. This replaces the IntoSliceLikeAllocation trait for
    determining which Allocation types can be converted to slices and
    slice-like types.
  • Missing support for converting str allocations to [u8] allocations.

Changed

  • Moved into_slice_like_allocation() away from the IntoSliceLikeAllocation
    trait into a method of Allocation itself, allowing it to be called
    directly on any allocation without having to import any special traits.
  • Rewrote much of the crate-level documentation to be more useful as well as
    better reflect the changes made since the initial release.

Removed

  • IntoSliceLikeAllocation trait (superseded by
    Allocation::into_slice_like_allocation() and IntoMutSliceLikePtr trait).