pub struct Return<T> {
pub was_cached: bool,
pub value: T,
}
Fields
was_cached: bool
value: T
Implementations
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for Return<T> where
T: RefUnwindSafe,
impl<T> Send for Return<T> where
T: Send,
impl<T> Sync for Return<T> where
T: Sync,
impl<T> Unpin for Return<T> where
T: Unpin,
impl<T> UnwindSafe for Return<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more