Struct froggy::ReadLock
[−]
[src]
pub struct ReadLock<'a, T: 'a> { /* fields omitted */ }Read lock on the storage, allows multiple clients to read from the same storage simultaneously.
Methods
impl<'a, T> ReadLock<'a, T>[src]
fn iter(&'a self) -> ReadIter<'a, T>
Iterate all components in this locked storage.
fn iter_alive(&'a self) -> ReadIter<'a, T>
Iterate all components that are still referenced by something.
fn pin(&self, item: &ReadItem<'a, T>) -> Pointer<T>
Pin an iterated item with a newly created Pointer.