Expand description
Non-empty slices.
Re-exports§
pub use cow::CowSlice;
alloc
orstd
pub use owned::OwnedSlice;
alloc
orstd
pub use empty::Empty;
pub use slice::Slice;
pub use slice::StaticSlice;
static
pub use cow::StaticCowSlice;
( alloc
orstd
) andstatic
Modules§
- cow
alloc
orstd
- Non-empty
Cow<'_, [T]>
. - empty
- Emptiness errors.
- macros
- Macros used for constructing non-empty slices.
- owned
alloc
orstd
- Non-empty
Vec<T>
. - slice
- Non-empty slices.
Macros§
- const_
borrowed_ slice alloc
orstd
- Similar to
const_slice
, but constructs borrowedCowSlice
. - const_
slice - Constructs
Slice
from the given slice, panicking if it is empty.