pub struct DeclarativeEnvironmentRecord { /* private fields */ }Implementations§
Trait Implementations§
Source§impl EnvironmentRecord for DeclarativeEnvironmentRecord
impl EnvironmentRecord for DeclarativeEnvironmentRecord
fn has_binding(&self, id: &String) -> bool
fn create_mutable_binding( &mut self, id: String, can_delete: bool, ) -> Result<(), JErrorType>
fn create_immutable_binding(&mut self, id: String) -> Result<(), JErrorType>
fn initialize_binding( &mut self, _ctx_stack: &mut ExecutionContextStack, id: String, value: JsValue, ) -> Result<bool, JErrorType>
fn set_mutable_binding( &mut self, _ctx_stack: &mut ExecutionContextStack, id: String, value: JsValue, ) -> Result<(), JErrorType>
fn get_binding_value( &self, _ctx_stack: &mut ExecutionContextStack, id: &String, ) -> Result<JsValue, JErrorType>
fn delete_binding(&mut self, id: &String) -> Result<bool, JErrorType>
fn has_this_binding(&self) -> bool
fn has_super_binding(&self) -> bool
Auto Trait Implementations§
impl Freeze for DeclarativeEnvironmentRecord
impl !RefUnwindSafe for DeclarativeEnvironmentRecord
impl !Send for DeclarativeEnvironmentRecord
impl !Sync for DeclarativeEnvironmentRecord
impl Unpin for DeclarativeEnvironmentRecord
impl !UnwindSafe for DeclarativeEnvironmentRecord
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more