#[repr(C)]pub struct godot_gdnative_init_options {
pub in_editor: 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(*const c_void, *const i8, godot_gdnative_api_version, godot_gdnative_api_version)>,
pub report_loading_error: Option<unsafe extern "C" fn(*const c_void, *const i8)>,
pub gd_native_library: *mut c_void,
pub api_struct: *const godot_gdnative_core_api_struct,
pub active_library_path: *const godot_string,
}
Fields§
§in_editor: bool
§core_api_hash: u64
§editor_api_hash: u64
§no_api_hash: u64
§report_version_mismatch: Option<unsafe extern "C" fn(*const c_void, *const i8, godot_gdnative_api_version, godot_gdnative_api_version)>
§report_loading_error: Option<unsafe extern "C" fn(*const c_void, *const i8)>
§gd_native_library: *mut c_void
§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 duplicate 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_gdnative_init_options
impl Debug for godot_gdnative_init_options
Source§impl Default for godot_gdnative_init_options
impl Default for godot_gdnative_init_options
Source§fn default() -> godot_gdnative_init_options
fn default() -> godot_gdnative_init_options
Returns the “default value” for a type. Read more
impl Copy for godot_gdnative_init_options
Auto Trait Implementations§
impl Freeze for godot_gdnative_init_options
impl RefUnwindSafe for godot_gdnative_init_options
impl !Send for godot_gdnative_init_options
impl !Sync for godot_gdnative_init_options
impl Unpin for godot_gdnative_init_options
impl UnwindSafe for godot_gdnative_init_options
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