Skip to main content

generate_into_external_ptr

Function generate_into_external_ptr 

Source
fn generate_into_external_ptr(input: &DeriveInput) -> TokenStream
Expand description

Generate the IntoExternalPtr marker trait impl.

This marker trait enables the blanket impl<T: IntoExternalPtr> IntoR for T in miniextendr-api, allowing the type to be returned directly from functions.