Struct boa::environment::declarative_environment_record::DeclarativeEnvironmentRecord[][src]

pub struct DeclarativeEnvironmentRecord {
    pub env_rec: GcCell<FxHashMap<Box<str>, DeclarativeEnvironmentRecordBinding>>,
    pub outer_env: Option<Environment>,
}
Expand description

A declarative Environment Record binds the set of identifiers defined by the declarations contained within its scope.

Fields

env_rec: GcCell<FxHashMap<Box<str>, DeclarativeEnvironmentRecordBinding>>outer_env: Option<Environment>

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Executes the destructor for this type. Read more

9.1.1.1.1 HasBinding ( N )

More information:

9.1.1.1.2 CreateMutableBinding ( N, D )

More information:

9.1.1.1.3 CreateImmutableBinding ( N, S )

More information:

9.1.1.1.4 InitializeBinding ( N, V )

More information:

9.1.1.1.5 SetMutableBinding ( N, V, S )

More information:

9.1.1.1.6 GetBindingValue ( N, S )

More information:

9.1.1.1.7 DeleteBinding ( N )

More information:

9.1.1.1.8 HasThisBinding ( )

More information:

9.1.1.1.9 HasSuperBinding ( )

More information:

9.1.1.1.10 WithBaseObject ( )

More information:

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

Create mutable binding while handling outer environments

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

Retrieve binding from current or any outer environment

Performs the conversion.

Marks all contained Gcs.

Increments the root-count of all contained Gcs.

Decrements the root-count of all contained Gcs.

Runs Finalize::finalize() on this object and all contained subobjects Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Convert the Rust type which implements NativeObject to a &dyn Any.

Convert the Rust type which implements NativeObject to a &mut dyn Any.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.