pub trait NativeClassMethods: NativeClass {
// Required method
fn nativeclass_register(builder: &ClassBuilder<Self>);
}
Expand description
Trait used to provide information of Godot-exposed methods of a script class.
Required Methods§
Sourcefn nativeclass_register(builder: &ClassBuilder<Self>)
fn nativeclass_register(builder: &ClassBuilder<Self>)
Function that registers all exposed methods to Godot.
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.