Struct boa::environment::object_environment_record::ObjectEnvironmentRecord [−][src]
pub struct ObjectEnvironmentRecord {
pub bindings: JsObject,
pub with_environment: bool,
pub outer_env: Option<Environment>,
}Fields
bindings: JsObjectwith_environment: boolouter_env: Option<Environment>Implementations
Trait Implementations
Return the this binding from the environment
Get the next environment up
Set the next environment up
Get the type of environment this is
Return the this binding from the environment or try to get it from outer environments
fn recursive_create_mutable_binding(
&self,
name: &str,
deletion: bool,
scope: VariableScope,
context: &mut Context
) -> JsResult<()>
fn recursive_create_mutable_binding(
&self,
name: &str,
deletion: bool,
scope: VariableScope,
context: &mut Context
) -> JsResult<()>
Create mutable binding while handling outer environments
fn recursive_create_immutable_binding(
&self,
name: &str,
deletion: bool,
scope: VariableScope,
context: &mut Context
) -> JsResult<()>
fn recursive_create_immutable_binding(
&self,
name: &str,
deletion: bool,
scope: VariableScope,
context: &mut Context
) -> JsResult<()>
Create immutable binding while handling outer environments
Set mutable binding while handling outer environments
Initialize binding while handling outer environments
Check if a binding exists in current or any outer environment
Performs the conversion.
Runs Finalize::finalize() on this object and all contained subobjects Read more
Auto Trait Implementations
impl !RefUnwindSafe for ObjectEnvironmentRecord
impl !Send for ObjectEnvironmentRecord
impl !Sync for ObjectEnvironmentRecord
impl Unpin for ObjectEnvironmentRecord
impl !UnwindSafe for ObjectEnvironmentRecord
Blanket Implementations
Mutably borrows from an owned value. Read more