#[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 moreSource§impl Debug for godot_instance_create_func
impl Debug for godot_instance_create_func
impl Copy for godot_instance_create_func
Auto Trait Implementations§
impl Freeze for godot_instance_create_func
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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more