[][src]Struct gdnative_sys::godot_gdnative_init_options

#[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_boolcore_api_hash: u64editor_api_hash: u64no_api_hash: u64report_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_objectapi_struct: *const godot_gdnative_core_api_structactive_library_path: *const godot_string

Trait Implementations

impl Clone for godot_gdnative_init_options[src]

impl Copy for godot_gdnative_init_options[src]

impl Debug for godot_gdnative_init_options[src]

impl Default for godot_gdnative_init_options[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.