Expand description
A module containing functions defined in core::slice with null and alignment checks.
Functions§
- from_
raw_ ⚠parts - The wrapper of
core::slice::from_raw_partswhich panics if the passed pointer is either null or not aligned. - from_
raw_ ⚠parts_ mut - The wrapper of
core::slice::from_raw_parts_mutwhich panics if the passed pointer is either null or not aligned. - try_
from_ ⚠raw_ parts - The wrapper of
core::slice::from_raw_partswhich may return an error if the passed pointer is either null or not aligned. - try_
from_ ⚠raw_ parts_ mut - The wrapper of
core::slice::from_raw_parts_mutwhich may return an error if the passed pointer is either null or not aligned.