pub struct KeyedSubfieldWriteGuard<Inner, Prev, K, T, Guard>where
KeyedSubfield<Inner, Prev, K, T>: Clone,
for<'a> &'a T: IntoIterator,
Inner: StoreField<Value = Prev>,
Prev: 'static,
K: Debug + Send + Sync + PartialEq + Eq + Hash + 'static,{ /* private fields */ }Expand description
Gives keyed write access to a value in some collection.
Trait Implementations§
Source§impl<Inner, Prev, K, T, Guard> Deref for KeyedSubfieldWriteGuard<Inner, Prev, K, T, Guard>where
Guard: Deref,
KeyedSubfield<Inner, Prev, K, T>: Clone,
for<'a> &'a T: IntoIterator,
Inner: StoreField<Value = Prev>,
Prev: 'static,
K: Debug + Send + Sync + PartialEq + Eq + Hash + 'static,
impl<Inner, Prev, K, T, Guard> Deref for KeyedSubfieldWriteGuard<Inner, Prev, K, T, Guard>where
Guard: Deref,
KeyedSubfield<Inner, Prev, K, T>: Clone,
for<'a> &'a T: IntoIterator,
Inner: StoreField<Value = Prev>,
Prev: 'static,
K: Debug + Send + Sync + PartialEq + Eq + Hash + 'static,
Source§impl<Inner, Prev, K, T, Guard> DerefMut for KeyedSubfieldWriteGuard<Inner, Prev, K, T, Guard>where
Guard: DerefMut,
KeyedSubfield<Inner, Prev, K, T>: Clone,
for<'a> &'a T: IntoIterator,
Inner: StoreField<Value = Prev>,
Prev: 'static,
K: Debug + Send + Sync + PartialEq + Eq + Hash + 'static,
impl<Inner, Prev, K, T, Guard> DerefMut for KeyedSubfieldWriteGuard<Inner, Prev, K, T, Guard>where
Guard: DerefMut,
KeyedSubfield<Inner, Prev, K, T>: Clone,
for<'a> &'a T: IntoIterator,
Inner: StoreField<Value = Prev>,
Prev: 'static,
K: Debug + Send + Sync + PartialEq + Eq + Hash + 'static,
Source§impl<Inner, Prev, K, T, Guard> Drop for KeyedSubfieldWriteGuard<Inner, Prev, K, T, Guard>where
KeyedSubfield<Inner, Prev, K, T>: Clone,
for<'a> &'a T: IntoIterator,
Inner: StoreField<Value = Prev>,
Prev: 'static,
K: Debug + Send + Sync + PartialEq + Eq + Hash + 'static,
impl<Inner, Prev, K, T, Guard> Drop for KeyedSubfieldWriteGuard<Inner, Prev, K, T, Guard>where
KeyedSubfield<Inner, Prev, K, T>: Clone,
for<'a> &'a T: IntoIterator,
Inner: StoreField<Value = Prev>,
Prev: 'static,
K: Debug + Send + Sync + PartialEq + Eq + Hash + 'static,
Source§impl<Inner, Prev, K, T, Guard> UntrackableGuard for KeyedSubfieldWriteGuard<Inner, Prev, K, T, Guard>where
Guard: UntrackableGuard,
KeyedSubfield<Inner, Prev, K, T>: Clone,
for<'a> &'a T: IntoIterator,
Inner: StoreField<Value = Prev>,
Prev: 'static,
K: Debug + Send + Sync + PartialEq + Eq + Hash + 'static,
impl<Inner, Prev, K, T, Guard> UntrackableGuard for KeyedSubfieldWriteGuard<Inner, Prev, K, T, Guard>where
Guard: UntrackableGuard,
KeyedSubfield<Inner, Prev, K, T>: Clone,
for<'a> &'a T: IntoIterator,
Inner: StoreField<Value = Prev>,
Prev: 'static,
K: Debug + Send + Sync + PartialEq + Eq + Hash + 'static,
Auto Trait Implementations§
impl<Inner, Prev, K, T, Guard> Freeze for KeyedSubfieldWriteGuard<Inner, Prev, K, T, Guard>
impl<Inner, Prev, K, T, Guard> RefUnwindSafe for KeyedSubfieldWriteGuard<Inner, Prev, K, T, Guard>
impl<Inner, Prev, K, T, Guard> Send for KeyedSubfieldWriteGuard<Inner, Prev, K, T, Guard>
impl<Inner, Prev, K, T, Guard> Sync for KeyedSubfieldWriteGuard<Inner, Prev, K, T, Guard>
impl<Inner, Prev, K, T, Guard> Unpin for KeyedSubfieldWriteGuard<Inner, Prev, K, T, Guard>
impl<Inner, Prev, K, T, Guard> UnsafeUnpin for KeyedSubfieldWriteGuard<Inner, Prev, K, T, Guard>
impl<Inner, Prev, K, T, Guard> UnwindSafe for KeyedSubfieldWriteGuard<Inner, Prev, K, T, Guard>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> StorageAccess<T> for T
impl<T> StorageAccess<T> for T
Source§fn as_borrowed(&self) -> &T
fn as_borrowed(&self) -> &T
Borrows the value.
Source§fn into_taken(self) -> T
fn into_taken(self) -> T
Takes the value.