Instanciable

Trait Instanciable 

Source
pub trait Instanciable: GodotObject {
    // Required method
    fn construct() -> Ref<Self, Unique>;
}
Expand description

GodotObjects that have a zero argument constructor.

Required Methods§

Source

fn construct() -> Ref<Self, Unique>

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§