Struct gdnative_sys::godot_instance_create_func
source · #[repr(C)]pub struct godot_instance_create_func {
pub create_func: Option<unsafe extern "C" fn(arg1: *mut godot_object, arg2: *mut c_void) -> *mut c_void>,
pub method_data: *mut c_void,
pub free_func: Option<unsafe extern "C" fn(arg1: *mut c_void)>,
}
Fields§
§create_func: Option<unsafe extern "C" fn(arg1: *mut godot_object, arg2: *mut c_void) -> *mut c_void>
§method_data: *mut c_void
§free_func: Option<unsafe extern "C" fn(arg1: *mut c_void)>
Trait Implementations§
source§impl Clone for godot_instance_create_func
impl Clone for godot_instance_create_func
source§fn clone(&self) -> godot_instance_create_func
fn clone(&self) -> godot_instance_create_func
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more