#[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>,
}
Formats the value using the given formatter. Read more
Performs copy-assignment from source
. Read more
Returns the "default value" for a type. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static