Attribute Macro cglue_macro::cglue_trait_ext

source ·
#[cglue_trait_ext]
Expand description

Make an external trait CGlue compatible.

Invoking this macro will change the name of the trait to be prefixed with Ext, and it will act as a wrapper trait for the underlying trait.

This is very useful when third-party crates are needed to be CGlue compatible.