[][src]Struct boa::environment::global_environment_record::GlobalEnvironmentRecord

pub struct GlobalEnvironmentRecord {
    pub object_record: Box<ObjectEnvironmentRecord>,
    pub global_this_binding: Value,
    pub declarative_record: Box<DeclarativeEnvironmentRecord>,
    pub var_names: HashSet<String>,
}

Fields

object_record: Box<ObjectEnvironmentRecord>global_this_binding: Valuedeclarative_record: Box<DeclarativeEnvironmentRecord>var_names: HashSet<String>

Implementations

impl GlobalEnvironmentRecord[src]

pub fn get_this_binding(&self) -> Value[src]

pub fn has_var_declaration(&self, name: &str) -> bool[src]

pub fn has_lexical_declaration(&self, name: &str) -> bool[src]

pub fn has_restricted_global_property(&self, name: &str) -> bool[src]

pub fn create_global_var_binding(&mut self, name: String, deletion: bool)[src]

pub fn create_global_function_binding(
    &mut self,
    name: &str,
    value: Value,
    deletion: bool
)
[src]

Trait Implementations

impl Clone for GlobalEnvironmentRecord[src]

impl Debug for GlobalEnvironmentRecord[src]

impl Drop for GlobalEnvironmentRecord[src]

impl EnvironmentRecordTrait for GlobalEnvironmentRecord[src]

impl Finalize for GlobalEnvironmentRecord[src]

impl Trace for GlobalEnvironmentRecord[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,