pub(crate) struct Stored<T> {
pub(crate) value: Valid<T>,
pub(crate) ref_count: RefCount,
}
Fields§
§value: Valid<T>
§ref_count: RefCount
Trait Implementations§
Auto Trait Implementations§
impl<T> RefUnwindSafe for Stored<T>where T: RefUnwindSafe,
impl<T> Send for Stored<T>where T: Send,
impl<T> Sync for Stored<T>where T: Sync,
impl<T> Unpin for Stored<T>where T: Unpin,
impl<T> UnwindSafe for Stored<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