pub trait Unpacked<T>:
Copy
+ Sized
+ AsRef<[T]>
+ AsMut<[T]>
+ Index<usize, Output = T>
+ IndexMut<usize, Output = T>
+ for<'a> TryFrom<&'a [T], Error = TryFromSliceError> {
const LENGTH: usize;
// Required method
fn zero() -> Self;
}
Expand description
A byte slice of Unpackable
denoting complete unpacked arrays.
Required Associated Constants§
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.