[−][src]Struct boa::environment::global_environment_record::GlobalEnvironmentRecord
Fields
object_record: Box<ObjectEnvironmentRecord>
global_this_binding: Value
declerative_record: Box<DeclerativeEnvironmentRecord>
var_names: HashSet<String>
Methods
impl GlobalEnvironmentRecord
[src]
pub fn get_this_binding(&self) -> Value
[src]
pub fn has_var_decleration(&self, name: &String) -> bool
[src]
pub fn has_lexical_decleration(&self, name: &String) -> bool
[src]
pub fn has_restricted_global_property(&self, name: &String) -> bool
[src]
pub fn create_global_var_binding(&mut self, name: String, deletion: bool)
[src]
pub fn create_global_function_binding(
&mut self,
name: String,
value: Value,
deletion: bool
)
[src]
&mut self,
name: String,
value: Value,
deletion: bool
)
Trait Implementations
impl EnvironmentRecordTrait for GlobalEnvironmentRecord
[src]
fn has_binding(&self, name: &String) -> bool
[src]
fn create_mutable_binding(&mut self, name: String, deletion: bool)
[src]
fn create_immutable_binding(&mut self, name: String, strict: bool)
[src]
fn initialize_binding(&mut self, name: String, value: Value)
[src]
fn set_mutable_binding(&mut self, name: String, value: Value, strict: bool)
[src]
fn get_binding_value(&self, name: String, strict: bool) -> Value
[src]
fn delete_binding(&mut self, name: String) -> bool
[src]
fn has_this_binding(&self) -> bool
[src]
fn has_super_binding(&self) -> bool
[src]
fn with_base_object(&self) -> Value
[src]
fn get_outer_environment(&self) -> Option<Environment>
[src]
fn set_outer_environment(&mut self, _env: Environment)
[src]
fn get_environment_type(&self) -> EnvironmentType
[src]
fn get_global_object(&self) -> Option<Value>
[src]
impl Drop for GlobalEnvironmentRecord
[src]
impl Clone for GlobalEnvironmentRecord
[src]
fn clone(&self) -> GlobalEnvironmentRecord
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Finalize for GlobalEnvironmentRecord
[src]
impl Trace for GlobalEnvironmentRecord
[src]
Auto Trait Implementations
impl !Send for GlobalEnvironmentRecord
impl !Sync for GlobalEnvironmentRecord
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,