Expand description
A prelude containing all the traits and macros required to create Rust subclasses of C++ classes. It’s recommended that you:
use autocxx::subclass::prelude::*;Re-exports§
pub use super::CppPeerConstructor;pub use super::CppSubclass;pub use super::CppSubclassDefault;pub use super::CppSubclassSelfOwned;pub use super::CppSubclassSelfOwnedDefault;
Attribute Macros§
- is_
subclass - Deprecated - use
subclassinstead. Attribute to state that a Ruststructis a C++ subclass. This adds an additional field to the struct which autocxx uses to track a C++ instantiation of this Rust subclass. - subclass
- Declare a Rust subclass of a C++ class. You can use this in two ways: