Patterns in slices - currently, only used by
strip_suffix. At a future
point, we hope to generalise
core::str::Pattern (which at the time of writing is limited to
str) to slices, and then this trait will be replaced or abolished.
Required Associated Types§
The element type of the slice being matched on.
Currently, the consumers of
SlicePattern need a slice.