Type Alias pargraph::DataCell

source ·
pub type DataCell<T> = IdLock<T>;
Expand description

Wrapper for data associated with graph elements. Used for interior mutability during parallel graph processing.

Aliased Type§

struct DataCell<T> { /* private fields */ }

Trait Implementations§

source§

impl<T> BorrowDataCell for DataCell<T>

§

type UserData = T

Data type which is wrapped to get synchronized access.
source§

fn borrow_data_cell(&self) -> &DataCell<Self::UserData>

Get a reference to a DataCell structure.