Struct fvm_ipld_amt::ValueMut
source · pub struct ValueMut<'a, V> { /* private fields */ }
Expand description
A wrapper around a mutable reference to a value in an Amt. Keeps track of whether
the value was mutated by setting a flag when DerefMut::deref_mut
is called.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, V> RefUnwindSafe for ValueMut<'a, V>where V: RefUnwindSafe,
impl<'a, V> Send for ValueMut<'a, V>where V: Send,
impl<'a, V> Sync for ValueMut<'a, V>where V: Sync,
impl<'a, V> Unpin for ValueMut<'a, V>
impl<'a, V> !UnwindSafe for ValueMut<'a, V>
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