Function pyo3_macros_backend::utils::option_type_argument

source ·
pub fn option_type_argument(ty: &Type) -> Option<&Type>
Expand description

If ty is Option<T>, return Some(T), else None.

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