#[repr(C)]pub struct godot_gdnative_init_options {
pub in_editor: godot_bool,
pub core_api_hash: u64,
pub editor_api_hash: u64,
pub no_api_hash: u64,
pub report_version_mismatch: Option<unsafe extern "C" fn(p_library: *const godot_object, p_what: *const c_char, p_want: godot_gdnative_api_version, p_have: godot_gdnative_api_version)>,
pub report_loading_error: Option<unsafe extern "C" fn(p_library: *const godot_object, p_what: *const c_char)>,
pub gd_native_library: *mut godot_object,
pub api_struct: *const godot_gdnative_core_api_struct,
pub active_library_path: *const godot_string,
}
Fields§
§in_editor: godot_bool
§core_api_hash: u64
§editor_api_hash: u64
§no_api_hash: u64
§report_version_mismatch: Option<unsafe extern "C" fn(p_library: *const godot_object, p_what: *const c_char, p_want: godot_gdnative_api_version, p_have: godot_gdnative_api_version)>
§report_loading_error: Option<unsafe extern "C" fn(p_library: *const godot_object, p_what: *const c_char)>
§gd_native_library: *mut godot_object
§api_struct: *const godot_gdnative_core_api_struct
§active_library_path: *const godot_string
Trait Implementations§
source§impl Clone for godot_gdnative_init_options
impl Clone for godot_gdnative_init_options
source§fn clone(&self) -> godot_gdnative_init_options
fn clone(&self) -> godot_gdnative_init_options
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