Skip to main content

rust_extern

Function rust_extern 

Source
pub fn rust_extern(
    f: &ModelFn,
    self_path: Option<&str>,
    trait_path: Option<&str>,
    types: &[String],
) -> String
Expand description

The Rust expression of the rs: extern of f: rs:crate::a::f(_,&), with ->() when it returns (). types are the types of the type parameters of a generic function.