File tree Expand file tree Collapse file tree 2 files changed +20
-4
lines changed Expand file tree Collapse file tree 2 files changed +20
-4
lines changed Original file line number Diff line number Diff line change 1
- //! Types and functions related to the NativeScript extension of GDNative.
1
+ //! Functionality for user-defined types exported to the engine (native scripts)
2
+ //!
3
+ //! NativeScript allows users to have their own scripts in a native language (in this case Rust).
4
+ //! It is _not_ the same as GDNative, the native interface to call into Godot.
5
+ //!
6
+ //! Symbols in this module allow registration, exporting and management of user-defined types
7
+ //! which are wrapped in native scripts.
8
+ //!
9
+ //! If you are looking for how to manage Godot core types or classes (objects), check
10
+ //! out the [`core_types`][crate::core_types] and [`object`][crate::object] modules, respectively.
2
11
3
- pub ( crate ) mod class_registry ;
12
+ mod class ;
4
13
mod emplace;
5
14
mod macros;
6
15
7
- mod class;
16
+ pub ( crate ) mod class_registry;
17
+ pub ( crate ) mod type_tag;
18
+
8
19
pub mod init;
9
20
pub mod profiling;
10
- pub mod type_tag;
11
21
pub mod user_data;
12
22
13
23
pub use class:: * ;
Original file line number Diff line number Diff line change 1
1
//! Provides types to interact with the Godot `Object` class hierarchy
2
+ //!
3
+ //! This module contains wrappers and helpers to interact with Godot objects.
4
+ //! In Godot, classes stand in an inheritance relationship, with the root at `Object`.
5
+ //!
6
+ //! If you are looking for how to manage user-defined types (native scripts),
7
+ //! check out the [`nativescript`][crate::nativescript] module.
2
8
3
9
use std:: borrow:: Borrow ;
4
10
use std:: ffi:: CString ;
You can’t perform that action at this time.
0 commit comments