Skip to main content

Module slice_indices

Module slice_indices 

Source

Enumsยง

ByteSliceWithIndices ๐Ÿ”’
An abstraction over a slice of key-value pairs that can have either &[u8] or &str keys. This is used in the builder to avoid unsound casts.

Functionsยง

is_less_than ๐Ÿ”’
Const function to evaluate a < b lexicographically.
prefix_eq_or_panic ๐Ÿ”’
Const function to evaluate a[..prefix_len] == b[..prefix_len]