Crate cglue_macro

source ·
Expand description

CGlue procedural macros

Macros

Checked cast to a list of optional traits.
Checked cast to a list of optional traits.
Checked cast to a list of optional traits.
Implement cglue_forward_ext for all builtin external traits.
Implement builtin external traits.
Implement a CGlue group for a specific type.
Define a CGlue trait group.
Check if the group can be cast to the specified traits.
Convert into a CGlue trait group.
Checked cast to a list of optional traits.
Convert into a CGlue compatible object.

Attribute Macros

Generate forward trait implementation for Fwd.
Generate forward trait implementation for Fwd.
Make a trait CGlue compatible.
Make an external trait CGlue compatible.
Add custom wrapping for a trait impl and the C interface.
Mark the trait or function to use IntResult.
Exclude a single function from using IntResult.
Specify return type conversion with a closure.
Skip reimplementing this function.
Emit a vtable entry, but do not use it in Rust.
Wrap the associated type with a custom type.
Wrap the associated type with a CGlue trait group.
Wrap the associated type with a CGlue trait group mutable reference.
Wrap the associated type with a CGlue trait group reference.
Wrap the associated type with a CGlue trait object.
Wrap the associated type with a CGlue trait object mutable reference.
Wrap the associated type with a CGlue trait object reference.