Trait NullSafePtr
rdisk_shared
pub trait NullSafePtr<T: Sized> { fn safe_ptr(&self) -> *const T; }
fn safe_ptr(&self) -> *const T
impl<'_, T: Sized> NullSafePtr<T> for &'_ [T]
impl NullSafePtr<u8> for str
fn safe_ptr(&self) -> *const u8
impl<T: Sized> NullSafePtr<T> for Vec<T>