Struct mozjs::jsapi::RealmOptions
source · #[repr(C)]pub struct RealmOptions {
pub creationOptions_: RealmCreationOptions,
pub behaviors_: RealmBehaviors,
}
Expand description
RealmOptions specifies realm characteristics: both those that can’t be changed on a realm once it’s been created (RealmCreationOptions), and those that can be changed on an existing realm (RealmBehaviors).
Fields§
§creationOptions_: RealmCreationOptions
§behaviors_: RealmBehaviors
Trait Implementations§
source§impl Clone for RealmOptions
impl Clone for RealmOptions
source§fn clone(&self) -> RealmOptions
fn clone(&self) -> RealmOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for RealmOptions
Auto Trait Implementations§
impl RefUnwindSafe for RealmOptions
impl !Send for RealmOptions
impl !Sync for RealmOptions
impl Unpin for RealmOptions
impl UnwindSafe for RealmOptions
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