[−][src]Struct boa::environment::global_environment_record::GlobalEnvironmentRecord
Fields
object_record: ObjectEnvironmentRecord
global_this_binding: Value
declarative_record: DeclarativeEnvironmentRecord
var_names: FxHashSet<String>
Implementations
impl GlobalEnvironmentRecord
[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 can_declare_global_var(&self, name: &str) -> bool
[src]
pub fn can_declare_global_function(&self, name: &str) -> bool
[src]
pub fn create_global_var_binding(
&mut self,
name: String,
deletion: bool
) -> Result<(), ErrorKind>
[src]
&mut self,
name: String,
deletion: bool
) -> Result<(), ErrorKind>
pub fn create_global_function_binding(
&mut self,
name: &str,
value: Value,
deletion: bool
)
[src]
&mut self,
name: &str,
value: Value,
deletion: bool
)
Trait Implementations
impl Clone for GlobalEnvironmentRecord
[src]
pub fn clone(&self) -> GlobalEnvironmentRecord
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for GlobalEnvironmentRecord
[src]
impl Drop for GlobalEnvironmentRecord
[src]
impl EnvironmentRecordTrait for GlobalEnvironmentRecord
[src]
pub fn get_this_binding(&self) -> Result<Value, ErrorKind>
[src]
pub fn has_binding(&self, name: &str) -> bool
[src]
pub fn create_mutable_binding(
&mut self,
name: String,
deletion: bool,
allow_name_reuse: bool
) -> Result<(), ErrorKind>
[src]
&mut self,
name: String,
deletion: bool,
allow_name_reuse: bool
) -> Result<(), ErrorKind>
pub fn create_immutable_binding(
&mut self,
name: String,
strict: bool
) -> Result<(), ErrorKind>
[src]
&mut self,
name: String,
strict: bool
) -> Result<(), ErrorKind>
pub fn initialize_binding(
&mut self,
name: &str,
value: Value
) -> Result<(), ErrorKind>
[src]
&mut self,
name: &str,
value: Value
) -> Result<(), ErrorKind>
pub fn set_mutable_binding(
&mut self,
name: &str,
value: Value,
strict: bool
) -> Result<(), ErrorKind>
[src]
&mut self,
name: &str,
value: Value,
strict: bool
) -> Result<(), ErrorKind>
pub fn get_binding_value(
&self,
name: &str,
strict: bool
) -> Result<Value, ErrorKind>
[src]
&self,
name: &str,
strict: bool
) -> Result<Value, ErrorKind>
pub fn delete_binding(&mut self, name: &str) -> bool
[src]
pub fn has_this_binding(&self) -> bool
[src]
pub fn has_super_binding(&self) -> bool
[src]
pub fn with_base_object(&self) -> Value
[src]
pub fn get_outer_environment(&self) -> Option<Environment>
[src]
pub fn set_outer_environment(&mut self, _env: Environment)
[src]
pub fn get_environment_type(&self) -> EnvironmentType
[src]
pub fn get_global_object(&self) -> Option<Value>
[src]
impl Finalize for GlobalEnvironmentRecord
[src]
impl Trace for GlobalEnvironmentRecord
[src]
Auto Trait Implementations
impl !RefUnwindSafe for GlobalEnvironmentRecord
[src]
impl !Send for GlobalEnvironmentRecord
[src]
impl !Sync for GlobalEnvironmentRecord
[src]
impl Unpin for GlobalEnvironmentRecord
[src]
impl !UnwindSafe for GlobalEnvironmentRecord
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> NativeObject for T where
T: Any + Debug + Trace,
[src]
T: Any + Debug + Trace,
pub fn as_any(&Self) -> &(dyn Any + 'static)
[src]
pub fn as_mut_any(&mut Self) -> &mut (dyn Any + 'static)
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut 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.
pub 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.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,