pub trait SliceLike: PointerLength {
type Element;
}
Expand description
This trait is implemented for all slice-like structures. Currently there are only 2 of these types: arrays [T; N]
and slices [T]
.
Required Associated Types§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.