Skip to main content

Shared

Type Alias Shared 

Source
pub type Shared<T> = Rc<T>;
Expand description

Type alias for reference-counted pointer, switches between Shared and Arc depending on “sync” feature.

Aliased Type§

pub struct Shared<T> { /* private fields */ }