Trait ClosureMarkerTrait

Source
pub trait ClosureMarkerTrait { }
Expand description

This trait identifies instances of the Closure type from rust_closures.h. In Rust land, there will be multiple instances of this type that we need to be able to cast from one to another. This trait helps us determine which of these casts are safe. To implement this use BindgenBuilderExt::c_closures_enhancements from c-closures-build on your bindgen::Builder.

Implementors§