Expand description
Non-empty slices.
Modules§
- boxed
stdoralloc - Non-empty
Box<[T]>. - cow
stdoralloc - Non-empty
Cow<'_, [T]>. - iter
- Various non-empty iterators over non-empty vectors and slices.
- macros
- Macros for creating non-empty vectors and slices.
- slice
- Non-empty
[T]. - vec
stdoralloc - Non-empty
Vec<T>.
Macros§
- const_
non_ empty_ bytes - Similar to
non_empty_bytes!but forconstcontexts. - const_
non_ empty_ slice - Similar to
non_empty_slice!but forconstcontexts. - non_
empty_ bytes - Similar to
non_empty_slice!, but constructsNonEmptyBytes. - non_
empty_ slice - Constructs
NonEmptySlicefrom the given slice, panicking if it is empty. - non_
empty_ vec stdoralloc - Constructs
NonEmptyVec<T>containing the provided arguments.
Structs§
- Empty
Boxed Slice stdoralloc - Similar to
EmptyVec<T>, but contains the empty boxed slice provided. - Empty
Slice - Represents errors returned when received slices are empty.
- Empty
Vec stdoralloc - Similar to
EmptySlice, but holds the empty vector provided. - NonEmpty
Slice - Represents non-empty slices.
- NonEmpty
Vec stdoralloc - Represents non-empty
Vec<T>values.
Type Aliases§
- Empty
Boxed Bytes stdoralloc - Represents empty boxed bytes,
EmptyBoxedSlice<u8>. - Empty
Byte Vec stdoralloc - Represents empty byte vectors,
EmptyVec<u8>. - NonEmpty
Byte Vec stdoralloc - Represents non-empty byte vectors,
NonEmptyVec<u8>. - NonEmpty
Bytes - Represents non-empty bytes,
NonEmptySlice<u8>. - NonEmpty
CowSlice stdoralloc - Represents non-empty clone-on-write slices,
Cow<'a, NonEmptySlice<T>>.