pub struct ObjectKeyMut<'k> { /* private fields */ }
Expand description
Allows mutable access to the surrounding Decor
of an ObjectKey
but not to its value.
This type wraps the object key in the iterator returned by Object::iter_mut
.
Implementations§
Methods from Deref<Target = ObjectKey>§
Trait Implementations§
Source§impl<'k> Debug for ObjectKeyMut<'k>
impl<'k> Debug for ObjectKeyMut<'k>
Source§impl<'k> Decorate for ObjectKeyMut<'k>
impl<'k> Decorate for ObjectKeyMut<'k>
Source§impl<'k> Deref for ObjectKeyMut<'k>
impl<'k> Deref for ObjectKeyMut<'k>
Source§impl<'k> PartialEq for ObjectKeyMut<'k>
impl<'k> PartialEq for ObjectKeyMut<'k>
Source§impl<'k> Span for ObjectKeyMut<'k>
impl<'k> Span for ObjectKeyMut<'k>
impl<'k> Eq for ObjectKeyMut<'k>
impl<'k> StructuralPartialEq for ObjectKeyMut<'k>
Auto Trait Implementations§
impl<'k> Freeze for ObjectKeyMut<'k>
impl<'k> RefUnwindSafe for ObjectKeyMut<'k>
impl<'k> Send for ObjectKeyMut<'k>
impl<'k> Sync for ObjectKeyMut<'k>
impl<'k> Unpin for ObjectKeyMut<'k>
impl<'k> !UnwindSafe for ObjectKeyMut<'k>
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