Struct borrow_bag::Handle
source · pub struct Handle<T, N> { /* private fields */ }
Expand description
A value which can be used with the BorrowBag
to borrow the element which was added.
See BorrowBag
for usage examples.
Trait Implementations§
Auto Trait Implementations§
impl<T, N> RefUnwindSafe for Handle<T, N>where N: RefUnwindSafe, T: RefUnwindSafe,
impl<T, N> Send for Handle<T, N>where N: Send, T: Send,
impl<T, N> Sync for Handle<T, N>where N: Sync, T: Sync,
impl<T, N> Unpin for Handle<T, N>where N: Unpin, T: Unpin,
impl<T, N> UnwindSafe for Handle<T, N>where N: UnwindSafe, 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