Derive Macro AlignedBytesBorrow
Source #[derive(AlignedBytesBorrow)]
Expand description
S
is the type the derive macro is being called on
Implements Borrow and BorrowMut for u8
u8 has to have (checked via debug_assert!
s)
- at least size_of(S) length
- at least align_of(S) alignment