Type Definition infinitree::fields::List

source ·
pub type List<T> = Arc<RwLock<Vec<T>>>;
Expand description

Shortcut to Arc<RwLock<Vec<T>>>, that can be used in an Index

This type supports all Index operations, and can be used with both LocalField and SparseField serialization strategies.

Trait Implementations§

source§

impl<T> Index for List<T>where T: 'static + Value + Clone,

source§

fn store_all(&mut self) -> Result<Vec<Intent<Box<dyn Store>>>>

Generate an Intent wrapper for each field in the Index. Read more
source§

fn load_all(&mut self) -> Result<Vec<Intent<Box<dyn Load>>>>

Generate an Intent wrapper for each field in the Index. Read more