Crate bpf_script_derive

Source
Expand description

Build Status crates.io mio Lines of Code

Provides a derive macro for AddToDatabase to make adding Rust types to a bpf_script::types::TypeDatabase easier.

§License

Derive Macros§

AddToTypeDatabase
Implements AddToTypeDatabase for the type. If the type is a structure, it will create a new type for the structure with the same name and all its inner fields.