add Default implementation to NodePath
The `Default` implementation will construct a `NodePath` from a
default `GodotString`.
@@ -117,6 +117,13 @@ impl NodePath {
}
}
+impl Default for NodePath {
+ #[inline]
+ fn default() -> Self {
+ NodePath::new(&GodotString::default())
+ }
+}
+
impl ToString for NodePath {
#[inline]
fn to_string(&self) -> String {
