pub fn update(&self, changes: <Self as Backend<H>>::Transaction) -> Self {
		let mut inner: HashMap<_, _> = self.inner.clone();
		for (storage_key, key, val) in changes {
			match val {
				Some(v) => { inner.entry(storage_key).or_default().insert(key, v); },
				None => { inner.entry(storage_key).or_default().remove(&key); },
			}
		}

		inner.into()
	}
/// Copy the state, with applied updates
Copy the state, with applied updates
Copy the state with applied updates
pub fn update(&self, changes: <Self as Backend<H>>::Transaction) -> Self {
		let mut inner: HashMap<_, _> = self.inner.clone();
		for (storage_key, key, val) in changes {
			match val {
				Some(v) => { inner.entry(storage_key).or_default().insert(key, v); },
				None => { inner.entry(storage_key).or_default().remove(&key); },
			}
		}
		inner.into()
	}
pub fn update ( & self , changes : < Self as Backend < H > > :: Transaction ) -> Self { let mut inner : HashMap < _ , _ > = self . inner . clone ( ) ; for ( storage_key , key , val ) in changes { match val { Some ( v ) => { inner . entry ( storage_key ) . or_default ( ) . insert ( key , v ) ; } , None => { inner . entry ( storage_key ) . or_default ( ) . remove ( & key ) ; } , } } inner . into ( ) }
Copy the state, with applied updates
Copy the state with applied updates
&self
changes
<Self as Backend<H>>::Transaction
&self
changes
<Self as Backend<H>>::Transaction