Trait gdnative_core::object::memory::Memory
source · pub trait Memory: MemorySpec + Sealed { }Expand description
Trait to parameterize over the memory management markers ManuallyManaged and RefCounted.
This trait is sealed and has no public members.
It defines how memory is managed for Godot objects in smart pointers, for example Ref.
Generally, classes inheriting Reference are ref-counted, while the rest (i.e. everything inheriting
Object which is not a Reference) is manually managed.