Struct gdnative_core::QueueFreeOnDrop[][src]

pub struct QueueFreeOnDrop<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
[src]

Trait Implementations

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

Executes the destructor for this type. Read more

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

The resulting type after dereferencing.

Important traits for &'a mut R

Dereferences the value.

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

Important traits for &'a mut R

Mutably dereferences the value.

Auto Trait Implementations

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

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