Expand description
Alignment checking primitives.
Functionsยง
- check_
alignment - Check whether the given data slice of
S
s is properly aligned for reading and writing as a slice ofT
s. - check_
alignment_ mut - Check whether the given mutable data slice of
S
s is properly aligned for reading and writing as a slice ofT
s, returning the same slice back if it is.