Expand description
sentinel is a sentinel-terminated slice library.
Macros
- Creates a new
CStrusing a string literal. A null byte is automatically appended at the end of that literal, ensuring the safety of the operation.
Structs
- 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 Definitions
- A type that wraps a “C-like” string.
- A simple type-definition which indicates that values are copied before being “unwrapped”.