pub struct UseEnv<F> { /* private fields */ }Expand description
A view that provides access to the environment.
UseEnv allows child views to access values stored in the environment
through a handler function.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<F> Freeze for UseEnv<F>where
F: Freeze,
impl<F> RefUnwindSafe for UseEnv<F>where
F: RefUnwindSafe,
impl<F> Send for UseEnv<F>where
F: Send,
impl<F> Sync for UseEnv<F>where
F: Sync,
impl<F> Unpin for UseEnv<F>where
F: Unpin,
impl<F> UnsafeUnpin for UseEnv<F>where
F: UnsafeUnpin,
impl<F> UnwindSafe for UseEnv<F>where
F: 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