pub struct EndBorrow<T>(/* private fields */);Expand description
Container for the final value of a FullBorrow.
Can be used to get back the original value once the lifetime of the borrow
is finished, by using EndBorrow::get.
Implementations§
Trait Implementations§
impl<T: Objective> Objective for EndBorrow<T>
impl<T: Send> Send for EndBorrow<T>
impl<T: Sync> Sync for EndBorrow<T>
Auto Trait Implementations§
impl<T> Freeze for EndBorrow<T>
impl<T> RefUnwindSafe for EndBorrow<T>where
T: RefUnwindSafe,
impl<T> Unpin for EndBorrow<T>
impl<T> UnsafeUnpin for EndBorrow<T>
impl<T> UnwindSafe for EndBorrow<T>where
T: RefUnwindSafe,
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