pub struct ScopeItemMut<'scope, T> { /* private fields */ }Expand description
A mutable reference to a scope-local item within a specific scope.
Created by LocalItem::scope_mut.
Trait Implementations§
Source§impl<'scope, T> Deref for ScopeItemMut<'scope, T>
impl<'scope, T> Deref for ScopeItemMut<'scope, T>
Auto Trait Implementations§
impl<'scope, T> Freeze for ScopeItemMut<'scope, T>
impl<'scope, T> RefUnwindSafe for ScopeItemMut<'scope, T>where
T: RefUnwindSafe,
impl<'scope, T> Send for ScopeItemMut<'scope, T>where
T: Send,
impl<'scope, T> Sync for ScopeItemMut<'scope, T>where
T: Sync,
impl<'scope, T> Unpin for ScopeItemMut<'scope, T>where
T: Unpin,
impl<'scope, T> !UnwindSafe for ScopeItemMut<'scope, T>
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