Trait gdnative::NewRef[][src]

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

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

Required methods

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

Creates a new reference to the underlying object.

Loading content...

Implementors

impl NewRef for GodotString[src]

impl NewRef for NodePath[src]

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

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

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

pub fn new_ref(&self) -> TypedArray<T>[src]

Creates a new reference to this reference-counted instance.

Loading content...