pub struct Realm {
pub global_object: JsObject,
pub global_env: Gc<GlobalEnvironmentRecord>,
pub environment: LexicalEnvironment,
}Expand description
Representation of a Realm.
In the specification these are called Realm Records.
Fields§
§global_object: JsObject§global_env: Gc<GlobalEnvironmentRecord>§environment: LexicalEnvironmentImplementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Realm
impl !RefUnwindSafe for Realm
impl !Send for Realm
impl !Sync for Realm
impl Unpin for Realm
impl !UnwindSafe for Realm
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