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