Struct gdnative_core::init::InitHandle [−][src]
pub struct InitHandle { /* fields omitted */ }A handle that can register new classes to the engine during initialization.
Methods
impl InitHandle[src]
impl InitHandlepub fn add_class<C>(&self, desc: ClassDescriptor) -> ClassBuilder<C> where
C: NativeClass, [src]
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 Copy for InitHandle[src]
impl Copy for InitHandleimpl Clone for InitHandle[src]
impl Clone for InitHandlefn clone(&self) -> InitHandle[src]
fn clone(&self) -> InitHandleReturns 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
Auto Trait Implementations
impl !Send for InitHandle
impl !Send for InitHandleimpl !Sync for InitHandle
impl !Sync for InitHandle