Skip to main content

extract_cls_receiver_trusted

Function extract_cls_receiver_trusted 

Source
pub fn extract_cls_receiver_trusted<'a, 'py>(
    slf: &'a Bound<'py, PyAny>,
    holder: &'a mut Option<Bound<'py, PyType>>,
) -> &'a Bound<'py, PyType>
Expand description

Extracts a cls receiver from a class instance, assuming the correct instance type has been provided.

⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here