Expand description
sentinel
is a sentinel-terminated slice library.
Macros
- Creates a new
CStr
using a string literal. A null byte is automatically appended at the end of that literal, ensuring the safety of the operation.
Structs
- A sentinel-terminated slice that’s backed by a fixed-size array.
- An iterator over the elements of a
SSlice<T>
. - An allocated
SSlice<T>
instance. - A sentinel-terminated slice.
- An iterator that automatically “unwraps” the sentinel values of an iterator.
Traits
- Types which have a sentinel value.
Type Aliases
- A type that wraps a “C-like” string.
- A sentinel-terminated string that’s backed by a fixed-size array.
- A simple type-definition which indicates that values are copied before being “unwrapped”.