pub trait TypeBody {
// Required method
fn get_type_body() -> TypeGenerator;
}Expand description
Creates the body of the type, so the functions and fields it exposes.
Required Methods§
Sourcefn get_type_body() -> TypeGenerator
fn get_type_body() -> TypeGenerator
Fills in the TypeGenerator so a .d.tl file can be constructed.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.