Struct gdnative_visual_script::common::QueueFreeOnDrop[]

pub struct QueueFreeOnDrop<T> where
    T: QueueFree + Clone
{ /* fields omitted */ }

A wrapper that automatically enqueues the object for deletion when dropped.

Methods

impl<T> QueueFreeOnDrop<T> where
    T: QueueFree + Clone

Trait Implementations

impl<T> DerefMut for QueueFreeOnDrop<T> where
    T: QueueFree + Clone

Important traits for &'a mut R

Mutably dereferences the value.

impl<T> Deref for QueueFreeOnDrop<T> where
    T: QueueFree + Clone

The resulting type after dereferencing.

Important traits for &'a mut R

Dereferences the value.

impl<T> Drop for QueueFreeOnDrop<T> where
    T: QueueFree + Clone

Executes the destructor for this type. Read more

Auto Trait Implementations

impl<T> Send for QueueFreeOnDrop<T> where
    T: Send

impl<T> Sync for QueueFreeOnDrop<T> where
    T: Sync