logo
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

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.2.1 HasBinding ( N )

More information:

9.1.1.2.2 CreateMutableBinding ( N, D )

More information:

9.1.1.2.3 CreateImmutableBinding ( N, S )

More information:

9.1.1.2.4 InitializeBinding ( N, V )

More information:

9.1.1.2.5 SetMutableBinding ( N, V, S )

More information:

9.1.1.2.6 GetBindingValue ( N, S )

More information:

9.1.1.2.7 DeleteBinding ( N )

More information:

9.1.1.2.8 HasThisBinding ( )

More information:

9.1.1.2.9 HasSuperBinding ( )

More information:

9.1.1.2.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
Converts to this type from the input type.
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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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
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.