pub trait ByteArray: ByteArray + IndexMut<usize, Output = u8> + IndexMut<Range<usize>, Output = [u8]> + AsRef<[u8]> + AsMut<[u8]> {
const SIZE: usize;
// Required method
fn zeroed() -> Self;
}Expand description
A helper trait that is implemented only for byte arrays.
It is necessary since associated constants cannot be used in function signatures so far.
Required Associated Constants§
Required Methods§
Object Safety§
This trait is not object safe.