pyo3::internal_tricks

Function ptr_from_mut

Source
pub(crate) fn ptr_from_mut<T>(t: &mut T) -> *mut T
⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here