[]Struct gdnative::sys::godot_pluginscript_language_desc

#[repr(C)]
pub struct godot_pluginscript_language_desc {
    pub name: *const i8,
    pub type_: *const i8,
    pub extension: *const i8,
    pub recognized_extensions: *mut *const i8,
    pub init: Option<unsafe extern "C" fn() -> *mut c_void>,
    pub finish: Option<unsafe extern "C" fn(*mut c_void)>,
    pub reserved_words: *mut *const i8,
    pub comment_delimiters: *mut *const i8,
    pub string_delimiters: *mut *const i8,
    pub has_named_classes: bool,
    pub supports_builtin_mode: bool,
    pub get_template_source_code: Option<unsafe extern "C" fn(*mut c_void, *const godot_string, *const godot_string) -> godot_string>,
    pub validate: Option<unsafe extern "C" fn(*mut c_void, *const godot_string, *mut i32, *mut i32, *mut godot_string, *const godot_string, *mut godot_pool_string_array) -> bool>,
    pub find_function: Option<unsafe extern "C" fn(*mut c_void, *const godot_string, *const godot_string) -> i32>,
    pub make_function: Option<unsafe extern "C" fn(*mut c_void, *const godot_string, *const godot_string, *const godot_pool_string_array) -> godot_string>,
    pub complete_code: Option<unsafe extern "C" fn(*mut c_void, *const godot_string, *const godot_string, *mut c_void, *mut godot_array, *mut bool, *mut godot_string) -> u32>,
    pub auto_indent_code: Option<unsafe extern "C" fn(*mut c_void, *mut godot_string, i32, i32)>,
    pub add_global_constant: Option<unsafe extern "C" fn(*mut c_void, *const godot_string, *const godot_variant)>,
    pub debug_get_error: Option<unsafe extern "C" fn(*mut c_void) -> godot_string>,
    pub debug_get_stack_level_count: Option<unsafe extern "C" fn(*mut c_void) -> i32>,
    pub debug_get_stack_level_line: Option<unsafe extern "C" fn(*mut c_void, i32) -> i32>,
    pub debug_get_stack_level_function: Option<unsafe extern "C" fn(*mut c_void, i32) -> godot_string>,
    pub debug_get_stack_level_source: Option<unsafe extern "C" fn(*mut c_void, i32) -> godot_string>,
    pub debug_get_stack_level_locals: Option<unsafe extern "C" fn(*mut c_void, i32, *mut godot_pool_string_array, *mut godot_array, i32, i32)>,
    pub debug_get_stack_level_members: Option<unsafe extern "C" fn(*mut c_void, i32, *mut godot_pool_string_array, *mut godot_array, i32, i32)>,
    pub debug_get_globals: Option<unsafe extern "C" fn(*mut c_void, *mut godot_pool_string_array, *mut godot_array, i32, i32)>,
    pub debug_parse_stack_level_expression: Option<unsafe extern "C" fn(*mut c_void, i32, *const godot_string, i32, i32) -> godot_string>,
    pub get_public_functions: Option<unsafe extern "C" fn(*mut c_void, *mut godot_array)>,
    pub get_public_constants: Option<unsafe extern "C" fn(*mut c_void, *mut godot_dictionary)>,
    pub profiling_start: Option<unsafe extern "C" fn(*mut c_void)>,
    pub profiling_stop: Option<unsafe extern "C" fn(*mut c_void)>,
    pub profiling_get_accumulated_data: Option<unsafe extern "C" fn(*mut c_void, *mut godot_pluginscript_profiling_data, i32) -> i32>,
    pub profiling_get_frame_data: Option<unsafe extern "C" fn(*mut c_void, *mut godot_pluginscript_profiling_data, i32) -> i32>,
    pub profiling_frame: Option<unsafe extern "C" fn(*mut c_void)>,
    pub script_desc: godot_pluginscript_script_desc,
}

Fields

name: *const i8type_: *const i8extension: *const i8recognized_extensions: *mut *const i8init: Option<unsafe extern "C" fn() -> *mut c_void>finish: Option<unsafe extern "C" fn(*mut c_void)>reserved_words: *mut *const i8comment_delimiters: *mut *const i8string_delimiters: *mut *const i8has_named_classes: boolsupports_builtin_mode: boolget_template_source_code: Option<unsafe extern "C" fn(*mut c_void, *const godot_string, *const godot_string) -> godot_string>validate: Option<unsafe extern "C" fn(*mut c_void, *const godot_string, *mut i32, *mut i32, *mut godot_string, *const godot_string, *mut godot_pool_string_array) -> bool>find_function: Option<unsafe extern "C" fn(*mut c_void, *const godot_string, *const godot_string) -> i32>make_function: Option<unsafe extern "C" fn(*mut c_void, *const godot_string, *const godot_string, *const godot_pool_string_array) -> godot_string>complete_code: Option<unsafe extern "C" fn(*mut c_void, *const godot_string, *const godot_string, *mut c_void, *mut godot_array, *mut bool, *mut godot_string) -> u32>auto_indent_code: Option<unsafe extern "C" fn(*mut c_void, *mut godot_string, i32, i32)>add_global_constant: Option<unsafe extern "C" fn(*mut c_void, *const godot_string, *const godot_variant)>debug_get_error: Option<unsafe extern "C" fn(*mut c_void) -> godot_string>debug_get_stack_level_count: Option<unsafe extern "C" fn(*mut c_void) -> i32>debug_get_stack_level_line: Option<unsafe extern "C" fn(*mut c_void, i32) -> i32>debug_get_stack_level_function: Option<unsafe extern "C" fn(*mut c_void, i32) -> godot_string>debug_get_stack_level_source: Option<unsafe extern "C" fn(*mut c_void, i32) -> godot_string>debug_get_stack_level_locals: Option<unsafe extern "C" fn(*mut c_void, i32, *mut godot_pool_string_array, *mut godot_array, i32, i32)>debug_get_stack_level_members: Option<unsafe extern "C" fn(*mut c_void, i32, *mut godot_pool_string_array, *mut godot_array, i32, i32)>debug_get_globals: Option<unsafe extern "C" fn(*mut c_void, *mut godot_pool_string_array, *mut godot_array, i32, i32)>debug_parse_stack_level_expression: Option<unsafe extern "C" fn(*mut c_void, i32, *const godot_string, i32, i32) -> godot_string>get_public_functions: Option<unsafe extern "C" fn(*mut c_void, *mut godot_array)>get_public_constants: Option<unsafe extern "C" fn(*mut c_void, *mut godot_dictionary)>profiling_start: Option<unsafe extern "C" fn(*mut c_void)>profiling_stop: Option<unsafe extern "C" fn(*mut c_void)>profiling_get_accumulated_data: Option<unsafe extern "C" fn(*mut c_void, *mut godot_pluginscript_profiling_data, i32) -> i32>profiling_get_frame_data: Option<unsafe extern "C" fn(*mut c_void, *mut godot_pluginscript_profiling_data, i32) -> i32>profiling_frame: Option<unsafe extern "C" fn(*mut c_void)>script_desc: godot_pluginscript_script_desc

Trait Implementations

impl Clone for godot_pluginscript_language_desc

impl Copy for godot_pluginscript_language_desc

impl Debug for godot_pluginscript_language_desc

impl Default for godot_pluginscript_language_desc

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.