#[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,
}
Formats the value using the given formatter. Read more
Performs copy-assignment from source
. Read more
Returns the "default value" for a type. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static