pub struct Env<'a, CTX: 'a, COMP: Component<CTX>> { /* private fields */ }
Expand description
A reference to environment of a component (scope) which contains shared reference to a context and a sender to a scope’s loop.
Implementations
Trait Implementations
Auto Trait Implementations
impl<'a, CTX, COMP> !RefUnwindSafe for Env<'a, CTX, COMP>
impl<'a, CTX, COMP> !Send for Env<'a, CTX, COMP>
impl<'a, CTX, COMP> !Sync for Env<'a, CTX, COMP>
impl<'a, CTX, COMP> Unpin for Env<'a, CTX, COMP>
impl<'a, CTX, COMP> !UnwindSafe for Env<'a, CTX, COMP>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more