split_slice

Crates.iosplit_slice
lib.rssplit_slice
version1.0.0
created_at2025-08-14 17:59:43.348674+00
updated_at2025-08-14 17:59:43.348674+00
descriptionA Rust library for accessing (&[T], &[T]) as if it were a single slice
homepage
repositoryhttps://github.com/ChocolateLoverRaj/split_slice
max_upload_size
id1795189
size6,721
Rajas Paranjpe (ChocolateLoverRaj)

documentation

README

split_slice

Crates.io Docs.rs

A Rust library for accessing (&[T], &[T]) as if it were a single slice.

Features

  • Very simple to construct
  • len and is_empty
  • impl Debug shows it as a single list
  • Iterator
  • Pure Rust, no dependencies, works with no_std
  • No alloc used
  • T does not need to implement Clone or Copy

Use Cases

  • Ring buffers
  • Custom VecDequeue
Commit count: 0

cargo fmt