Expand description
sentinel
is a sentinel-terminated slice library.
Macros§
- cstr
- 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§
- Display
- Implements
fmt::Display
fmt::Debug
for aCStr
. - InlineS
Slice - A sentinel-terminated slice that’s backed by a fixed-size array.
- Iter
- An iterator over the elements of a
SSlice<T>
. - SBox
- An allocated
SSlice<T>
instance. - SSlice
- A sentinel-terminated slice.
- Unwrap
Sentinels - An iterator that automatically “unwraps” the sentinel values of an iterator.
Traits§
- Sentinel
- Types which have a sentinel value.
Type Aliases§
- CStr
- A type that wraps a “C-like” string.
- InlineC
Str - A sentinel-terminated string that’s backed by a fixed-size array.
- Unwrap
Copied Sentinels - A simple type-definition which indicates that values are copied before being “unwrapped”.