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
.
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.
Implementations on Foreign Types§ Source§ impl<T, const N: usize> Array for [T; N]Available on crate feature const_generics
only.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4