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: LexicalEnvironment
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Realm
impl !Send for Realm
impl !Sync for Realm
impl Unpin for Realm
impl !UnwindSafe for Realm
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more