Crate sentinel

source ·
Expand description

sentinel is a sentinel-terminated slice library.


  • 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.



  • 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”.