Struct specs::storage::PairedStorageRead
source · pub struct PairedStorageRead<'rf, C: Component> { /* private fields */ }
Expand description
Pairs a storage with an index, meaning that the index is guaranteed to exist
as long as the PairedStorage<C>
exists.
Yielded by lend_join
/join
/par_join
on &storage.restrict()
.
Implementations§
Auto Trait Implementations§
impl<'rf, C> !RefUnwindSafe for PairedStorageRead<'rf, C>
impl<'rf, C> Send for PairedStorageRead<'rf, C>
impl<'rf, C> Sync for PairedStorageRead<'rf, C>
impl<'rf, C> Unpin for PairedStorageRead<'rf, C>
impl<'rf, C> !UnwindSafe for PairedStorageRead<'rf, C>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more