pub struct EnvRef<R> {
pub value: R,
}Expand description
The environment reference. Currently a simple wrapper, will expand to a type map later.
Fields§
§value: RTrait Implementations§
Auto Trait Implementations§
impl<R> Freeze for EnvRef<R>where
R: Freeze,
impl<R> RefUnwindSafe for EnvRef<R>where
R: RefUnwindSafe,
impl<R> Send for EnvRef<R>where
R: Send,
impl<R> Sync for EnvRef<R>where
R: Sync,
impl<R> Unpin for EnvRef<R>where
R: Unpin,
impl<R> UnwindSafe for EnvRef<R>where
R: 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