Type Definition boa::environment::lexical_environment::Environment
source · [−]pub type Environment = Gc<Box<dyn EnvironmentRecordTrait>>;
Expand description
Environments are wrapped in a Box and then in a GC wrapper
Trait Implementations
sourceimpl From<DeclarativeEnvironmentRecord> for Environment
impl From<DeclarativeEnvironmentRecord> for Environment
sourcefn from(env: DeclarativeEnvironmentRecord) -> Environment
fn from(env: DeclarativeEnvironmentRecord) -> Environment
Converts to this type from the input type.
sourceimpl From<FunctionEnvironmentRecord> for Environment
impl From<FunctionEnvironmentRecord> for Environment
sourcefn from(env: FunctionEnvironmentRecord) -> Environment
fn from(env: FunctionEnvironmentRecord) -> Environment
Converts to this type from the input type.
sourceimpl From<GlobalEnvironmentRecord> for Environment
impl From<GlobalEnvironmentRecord> for Environment
sourcefn from(env: GlobalEnvironmentRecord) -> Environment
fn from(env: GlobalEnvironmentRecord) -> Environment
Converts to this type from the input type.
sourceimpl From<ObjectEnvironmentRecord> for Environment
impl From<ObjectEnvironmentRecord> for Environment
sourcefn from(env: ObjectEnvironmentRecord) -> Environment
fn from(env: ObjectEnvironmentRecord) -> Environment
Converts to this type from the input type.