Struct js::jsapi::CompartmentBehaviors [] [src]

#[repr(C)]
pub struct CompartmentBehaviors { pub version_: JSVersion, pub discardSource_: bool, pub disableLazyParsing_: bool, pub extraWarningsOverride_: CompartmentBehaviors_Override, pub singletonsAsTemplates_: bool, }

CompartmentBehaviors specifies behaviors of a compartment that can be changed after the compartment's been created.

Fields

Methods

impl CompartmentBehaviors
[src]

[src]

Trait Implementations

impl Debug for CompartmentBehaviors
[src]

[src]

Formats the value using the given formatter.

impl Copy for CompartmentBehaviors
[src]

impl Clone for CompartmentBehaviors
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more