pub unsafe trait SliceFormat: Sized + Format {
type Slice: Slice + ?Sized;
}
Expand description
Indicates a format which corresponds to a Rust slice type, representing exactly the same invariants.
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.