Trait NativeClassMethods

Source
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§

Source

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.

Implementors§