[][src]Struct gdnative_common::init::ClassBuilder

pub struct ClassBuilder<C> where
    C: NativeClass
{ /* fields omitted */ }

Methods

impl<C> ClassBuilder<C> where
    C: NativeClass
[src]

pub fn add_method_advanced(&self, method: ScriptMethod)
[src]

pub fn add_method(
    &self,
    name: &str,
    method: unsafe extern "C" fn(*mut c_void, *mut c_void, *mut c_void, i32, *mut *mut godot_variant) -> godot_variant
)
[src]

pub fn add_property<T, S, G>(&self, property: Property<T, S, G>) where
    G: PropertyGetter<C, T>,
    S: PropertySetter<C, T>,
    T: ToVariant
[src]

pub fn add_signal(&self, signal: Signal)
[src]

Auto Trait Implementations

impl<C> !Send for ClassBuilder<C>

impl<C> !Sync for ClassBuilder<C>

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]