cg

Codegen utility library.


Keywords
plugin, appcore, codegen
License
Apache-2.0

Documentation

rust-cg

Rust codegen library.

Features

  • macros for syntax::ext::deriving::generic: you can use ext_path!() and ext_ty!() with
    • mixed variable: ext_!(std::core::option::Option<$ty_var>)
    • pointer type: ext_ty!(&'static str) and ext_ty!(&'static mut str)
    • self: You can use ext_ty!(Self)