Trait gdnative_core::NewRef[][src]

pub trait NewRef {
    fn new_ref(&self) -> Self;
}

A trait for incrementing the reference count to a Godot object.

Required methods

fn new_ref(&self) -> Self[src]

Creates a new reference to the underlying object.

Loading content...

Implementors

impl NewRef for NodePath[src]

impl NewRef for GodotString[src]

impl<Access: NonUniqueThreadAccess> NewRef for Dictionary<Access>[src]

impl<Access: NonUniqueThreadAccess> NewRef for VariantArray<Access>[src]

impl<T: Element> NewRef for TypedArray<T>[src]

fn new_ref(&self) -> Self[src]

Creates a new reference to this reference-counted instance.

Loading content...