#[repr(C)]pub struct godot_pluginscript_language_desc {Show 35 fields
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 i8
§type_: *const i8
§extension: *const i8
§recognized_extensions: *mut *const i8
§init: Option<unsafe extern "C" fn() -> *mut c_void>
§finish: Option<unsafe extern "C" fn(*mut c_void)>
§reserved_words: *mut *const i8
§comment_delimiters: *mut *const i8
§string_delimiters: *mut *const i8
§has_named_classes: bool
§supports_builtin_mode: bool
§get_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§
Source§impl Clone for godot_pluginscript_language_desc
impl Clone for godot_pluginscript_language_desc
Source§fn clone(&self) -> godot_pluginscript_language_desc
fn clone(&self) -> godot_pluginscript_language_desc
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 Default for godot_pluginscript_language_desc
impl Default for godot_pluginscript_language_desc
Source§fn default() -> godot_pluginscript_language_desc
fn default() -> godot_pluginscript_language_desc
Returns the “default value” for a type. Read more
impl Copy for godot_pluginscript_language_desc
Auto Trait Implementations§
impl Freeze for godot_pluginscript_language_desc
impl RefUnwindSafe for godot_pluginscript_language_desc
impl !Send for godot_pluginscript_language_desc
impl !Sync for godot_pluginscript_language_desc
impl Unpin for godot_pluginscript_language_desc
impl UnwindSafe for godot_pluginscript_language_desc
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