Function kgdata::pyo3helper::macros::unsafe_update_view_lifetime_signature
source · pub fn unsafe_update_view_lifetime_signature<T: ?Sized>(val: &T) -> &'static T
Expand description
Change signature of a reference from temporary to static. This is unsafe and only be used for temporary views that drop immediately after use.