Skip to main content

lib_rs

Function lib_rs 

Source
pub fn lib_rs(m: &Manifest, api: &PortApi) -> Result<String, String>
Expand description

src/lib.rs of a Ruby crate: a magnus extension defining RustAnythingNative<Lib> with one module function per port function, positional arguments only (the Ruby wrapper keeps the original defaults and keywords).