Skip to main content

ObjectQueue

Trait ObjectQueue 

Source
pub trait ObjectQueue {
    // Required method
    fn enqueue(&mut self, object: ObjectReference);
}
Expand description

This trait represents an object queue to enqueue objects during tracing.

Required Methods§

Source

fn enqueue(&mut self, object: ObjectReference)

Enqueue an object into the queue.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ObjectQueue for Option<ObjectReference>

Source§

fn enqueue(&mut self, object: ObjectReference)

Implementors§