Module safe_transmute::align
source · Expand description
Alignment checking primitives.
Functions§
- Check whether the given data slice of
S
s is properly aligned for reading and writing as a slice ofT
s. - 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.