Trait otter_api_tests::imports::failure::_core::slice::SlicePattern [−][src]
🔬 This is a nightly-only experimental API. (slice_pattern
)
stopgap trait for slice patterns
Expand description
Patterns in slices - currently, only used by strip_prefix
and 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.
Associated Types
Required methods
Implementations on Foreign Types
type Item = T
type Item = T
🔬 This is a nightly-only experimental API. (slice_pattern
)
stopgap trait for slice patterns
type Item = T
type Item = T
🔬 This is a nightly-only experimental API. (slice_pattern
)
stopgap trait for slice patterns