pub trait Instanciable: GodotObject {
// Required method
fn construct() -> Ref<Self, Unique>;
}
Expand description
GodotObjects that have a zero argument constructor.
Required Methods§
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.