Trait BuiltinExport
pub trait BuiltinExport { }Expand description
Marker trait to identify GodotTypes that can be directly used with an #[export].
Implemented pretty much for all GodotTypes that are not GodotClass. By itself, this trait has no implications
for the Var or Export traits.
Types which don’t implement the BuiltinExport trait can’t be used directly as an #[export]
and must be handled using associated algebraic types, such as:
Option<T>, which represents optional value that can be null when used.OnEditor<T>, which represents value that must not be null when used.