Struct gdnative_visual_script::common::init::InitHandle [−]
pub struct InitHandle { /* fields omitted */ }
A handle that can register new classes to the engine during initialization.
Methods
impl InitHandle
impl InitHandle
pub fn add_class<C>(&self, desc: ClassDescriptor) -> ClassBuilder<C> where
C: NativeClass,
pub fn add_class<C>(&self, desc: ClassDescriptor) -> ClassBuilder<C> where
C: NativeClass,
Registers a new class to the engine.
The return ClassBuilder
can be used to add methods, signals and properties
to the class.
Trait Implementations
impl Clone for InitHandle
impl Clone for InitHandle
fn clone(&self) -> InitHandle
fn clone(&self) -> InitHandle
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for InitHandle
impl Copy for InitHandle
Auto Trait Implementations
impl !Send for InitHandle
impl !Send for InitHandle
impl !Sync for InitHandle
impl !Sync for InitHandle