pub fn is_accessible_struct<T>(target: *const T) -> boolExpand description
Is this an accessible struct?
Returns false if
- The address pointed to by
Tis null - When the address pointed to by
Tis not located at a memory address that is a multiple ofT(unaligned) - There is no permission to access an address of size
T.