Trait ShouldBePassedAsRef
pub trait ShouldBePassedAsRef { }Expand description
Marker trait used to provide better diagnostic.
Used to mark arguments which should be passed by reference.
Note that GString/StringName/NodePath aren’t implicitly convertible for performance reasons; use their arg() method instead.
See: AsArg, ToGodot::Pass