[go: up one dir, main page]

Module env

Module env 

Source
Expand description

An environment which is passed downward into the widget tree.

Structs§

Env
An environment passed down through all widget traversals.
Key
A typed Env key.
MissingKeyError
An error type for when a key is missing from the Env.
ValueTypeError
The error type for environment access.

Enums§

KeyOrValue
Either a concrete T or a Key<T> that can be resolved in the Env.
Value
A dynamic type representing all values that can be stored in an environment.

Traits§

KeyLike
A trait for anything that can resolve a value of some type from the Env.
ValueType
Values which can be stored in an environment.