Trait Array
pub unsafe trait Array {
type Item;
// Required method
fn size() -> usize;
}Expand description
Types that can be used as the backing store for a SmallVec.
Required Associated Types§
type Item
type Item
The type of the array’s elements.
Required 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.