pub struct UseEnv<V, H> { /* 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<V, H> Freeze for UseEnv<V, H>where
H: Freeze,
impl<V, H> RefUnwindSafe for UseEnv<V, H>where
H: RefUnwindSafe,
V: RefUnwindSafe,
impl<V, H> Send for UseEnv<V, H>
impl<V, H> Sync for UseEnv<V, H>
impl<V, H> Unpin for UseEnv<V, H>
impl<V, H> UnwindSafe for UseEnv<V, H>where
H: UnwindSafe,
V: 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