Struct mozjs::jsapi::JS::RealmBehaviors
source · #[repr(C)]pub struct RealmBehaviors {
pub discardSource_: bool,
pub clampAndJitterTime_: bool,
pub shouldResistFingerprinting_: bool,
pub isNonLive_: bool,
}
Expand description
RealmBehaviors specifies behaviors of a realm that can be changed after the realm’s been created.
Fields§
§discardSource_: bool
§clampAndJitterTime_: bool
§shouldResistFingerprinting_: bool
§isNonLive_: bool
Trait Implementations§
source§impl Clone for RealmBehaviors
impl Clone for RealmBehaviors
source§fn clone(&self) -> RealmBehaviors
fn clone(&self) -> RealmBehaviors
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 moresource§impl Debug for RealmBehaviors
impl Debug for RealmBehaviors
source§impl PartialEq<RealmBehaviors> for RealmBehaviors
impl PartialEq<RealmBehaviors> for RealmBehaviors
source§fn eq(&self, other: &RealmBehaviors) -> bool
fn eq(&self, other: &RealmBehaviors) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RealmBehaviors
impl StructuralPartialEq for RealmBehaviors
Auto Trait Implementations§
impl RefUnwindSafe for RealmBehaviors
impl Send for RealmBehaviors
impl Sync for RealmBehaviors
impl Unpin for RealmBehaviors
impl UnwindSafe for RealmBehaviors
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