pub struct Value<R, T>(/* private fields */);Expand description
Wrapper for the value returned by PropMap::get.
For why this is necessary, see the documentation of PropMap.
Implementations§
Trait Implementations§
impl<R: Borrow<T>, T: Eq> Eq for Value<R, T>
Auto Trait Implementations§
impl<R, T> Freeze for Value<R, T>where
R: Freeze,
impl<R, T> RefUnwindSafe for Value<R, T>where
R: RefUnwindSafe,
T: RefUnwindSafe,
impl<R, T> Send for Value<R, T>
impl<R, T> Sync for Value<R, T>
impl<R, T> Unpin for Value<R, T>
impl<R, T> UnsafeUnpin for Value<R, T>where
R: UnsafeUnpin,
impl<R, T> UnwindSafe for Value<R, T>where
R: 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