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_voidfree_func: Option<unsafe extern "C" fn(arg1: *mut c_void)>Trait Implementations
sourceimpl Clone for godot_instance_create_func
impl Clone for godot_instance_create_func
sourcefn clone(&self) -> godot_instance_create_func
fn clone(&self) -> godot_instance_create_func
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for godot_instance_create_func
impl Debug for godot_instance_create_func
sourceimpl Default for godot_instance_create_func
impl Default for godot_instance_create_func
impl Copy for godot_instance_create_func
Auto Trait Implementations
impl RefUnwindSafe for godot_instance_create_func
impl !Send for godot_instance_create_func
impl !Sync for godot_instance_create_func
impl Unpin for godot_instance_create_func
impl UnwindSafe for godot_instance_create_func
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more