Skip to main content

DynSource

Type Alias DynSource 

Source
pub type DynSource = Arc<dyn ImageSource>;
Expand description

The object-safe shared handle used at every composition seam. Arc, not Box: a child layer keeps a handle to its parent, and one parent backs many children (every partition shares the disk source). Send + Sync because ImageSource requires them.

Aliased Type§

pub struct DynSource { /* private fields */ }