Skip to main content

SharedPlan

Type Alias SharedPlan 

Source
pub type SharedPlan = Arc<Owned<RenderPlan>>;
Expand description

A plan shared across the dispatcher, workers and hardware drivers.

The Owned wrapper defers the actual free of the plan (the whole buffer arena) to the builder thread’s basedrop::Collector: the final Arc drop may land on a worker thread (in-flight jobs hold clones), but it only queues the memory for reclamation instead of freeing it inline.

Aliased Type§

pub struct SharedPlan { /* private fields */ }