pub trait ExtArray: Sealed {
const LEN: usize;
// Provided method
fn fmt(&self) -> ArrayFmt<'_, Self>
where Self: Sized { ... }
}
Expand description
Extension trait providing convenience methods for [T; N]
arrays.
This trait is sealed and cannot be implemented for any other type.
Required Associated Constants§
Provided Methods§
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.