pub struct ShardMut<'g, 'k, K: Key, V, R>(/* private fields */);Expand description
Mutable reference to a subtree rooted at a key prefix, optionally bounded by a key range.
Implementations§
Source§impl<'g, 'k, K, V, R> ShardMut<'g, 'k, K, V, R>
impl<'g, 'k, K, V, R> ShardMut<'g, 'k, K, V, R>
Sourcepub fn entries_mut(&mut self, order: Order) -> EntryIterMut<'g, 'k, K, V, R> ⓘ
pub fn entries_mut(&mut self, order: Order) -> EntryIterMut<'g, 'k, K, V, R> ⓘ
Get an iterator over keys and mutable references to values in O order.
Sourcepub fn values_mut(&mut self, order: Order) -> ValueIterMut<'g, 'k, K, V, R> ⓘ
pub fn values_mut(&mut self, order: Order) -> ValueIterMut<'g, 'k, K, V, R> ⓘ
Get an iterator over mutable references to values in O order.
Trait Implementations§
Auto Trait Implementations§
impl<'g, 'k, K, V, R> !Send for ShardMut<'g, 'k, K, V, R>
impl<'g, 'k, K, V, R> !Sync for ShardMut<'g, 'k, K, V, R>
impl<'g, 'k, K, V, R> Freeze for ShardMut<'g, 'k, K, V, R>
impl<'g, 'k, K, V, R> RefUnwindSafe for ShardMut<'g, 'k, K, V, R>where
<K as Key>::Read<'k>: RefUnwindSafe,
R: RefUnwindSafe,
V: RefUnwindSafe,
<K as Key>::Edge: RefUnwindSafe,
impl<'g, 'k, K, V, R> Unpin for ShardMut<'g, 'k, K, V, R>
impl<'g, 'k, K, V, R> UnsafeUnpin for ShardMut<'g, 'k, K, V, R>
impl<'g, 'k, K, V, R> UnwindSafe for ShardMut<'g, 'k, K, V, R>where
<K as Key>::Read<'k>: UnwindSafe,
R: UnwindSafe,
V: RefUnwindSafe,
<K as Key>::Edge: RefUnwindSafe,
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