Struct core_foundation::base::ItemMutRef
source · [−]pub struct ItemMutRef<'a, T: 'a>(_, _);
Expand description
A reference to a mutable element inside a container
Trait Implementations
sourceimpl<'a, T: Debug> Debug for ItemMutRef<'a, T>
impl<'a, T: Debug> Debug for ItemMutRef<'a, T>
sourceimpl<'a, T> Deref for ItemMutRef<'a, T>
impl<'a, T> Deref for ItemMutRef<'a, T>
sourceimpl<'a, T> DerefMut for ItemMutRef<'a, T>
impl<'a, T> DerefMut for ItemMutRef<'a, T>
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for ItemMutRef<'a, T> where
T: RefUnwindSafe,
impl<'a, T> Send for ItemMutRef<'a, T> where
T: Send + Sync,
impl<'a, T> Sync for ItemMutRef<'a, T> where
T: Sync,
impl<'a, T> Unpin for ItemMutRef<'a, T> where
T: Unpin,
impl<'a, T> UnwindSafe for ItemMutRef<'a, T> where
T: UnwindSafe + RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more