pyo3::internal_tricks

Function ptr_from_ref

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