#[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§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.