Skip to main content

trait_method_preamble_lines

Function trait_method_preamble_lines 

Source
fn trait_method_preamble_lines(
    method: &TraitMethod,
    indent: &str,
) -> Vec<String>
Expand description

Generate R function body preamble lines (r_entry, on.exit, lifecycle, r_post_checks).

Returns lines to insert at the top of the R function body, before the .Call().