[][src]Struct gdnative_bindings::sys::godot_pluginscript_instance_desc

#[repr(C)]
pub struct godot_pluginscript_instance_desc {
    pub init: Option<unsafe extern "C" fn(*mut c_void, *mut c_void) -> *mut c_void>,
    pub finish: Option<unsafe extern "C" fn(*mut c_void)>,
    pub set_prop: Option<unsafe extern "C" fn(*mut c_void, *const godot_string, *const godot_variant) -> bool>,
    pub get_prop: Option<unsafe extern "C" fn(*mut c_void, *const godot_string, *mut godot_variant) -> bool>,
    pub call_method: Option<unsafe extern "C" fn(*mut c_void, *const godot_string_name, *mut *const godot_variant, i32, *mut godot_variant_call_error) -> godot_variant>,
    pub notification: Option<unsafe extern "C" fn(*mut c_void, i32)>,
    pub get_rpc_mode: Option<unsafe extern "C" fn(*mut c_void, *const godot_string) -> u32>,
    pub get_rset_mode: Option<unsafe extern "C" fn(*mut c_void, *const godot_string) -> u32>,
    pub refcount_incremented: Option<unsafe extern "C" fn(*mut c_void)>,
    pub refcount_decremented: Option<unsafe extern "C" fn(*mut c_void) -> bool>,
}

Fields

init: Option<unsafe extern "C" fn(*mut c_void, *mut c_void) -> *mut c_void>finish: Option<unsafe extern "C" fn(*mut c_void)>set_prop: Option<unsafe extern "C" fn(*mut c_void, *const godot_string, *const godot_variant) -> bool>get_prop: Option<unsafe extern "C" fn(*mut c_void, *const godot_string, *mut godot_variant) -> bool>call_method: Option<unsafe extern "C" fn(*mut c_void, *const godot_string_name, *mut *const godot_variant, i32, *mut godot_variant_call_error) -> godot_variant>notification: Option<unsafe extern "C" fn(*mut c_void, i32)>get_rpc_mode: Option<unsafe extern "C" fn(*mut c_void, *const godot_string) -> u32>get_rset_mode: Option<unsafe extern "C" fn(*mut c_void, *const godot_string) -> u32>refcount_incremented: Option<unsafe extern "C" fn(*mut c_void)>refcount_decremented: Option<unsafe extern "C" fn(*mut c_void) -> bool>

Trait Implementations

impl Clone for godot_pluginscript_instance_desc[src]

impl Copy for godot_pluginscript_instance_desc[src]

impl Debug for godot_pluginscript_instance_desc[src]

impl Default for godot_pluginscript_instance_desc[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.