Struct servo_config::prefs::gen::Prefs__dom
source · pub struct Prefs__dom {Show 37 fields
pub webgpu: Prefs__dom__webgpu,
pub bluetooth: Prefs__dom__bluetooth,
pub abort_controller: Prefs__dom__abort_controller,
pub allow_scripts_to_close_windows: bool,
pub canvas_capture: Prefs__dom__canvas_capture,
pub canvas_text: Prefs__dom__canvas_text,
pub composition_event: Prefs__dom__composition_event,
pub crypto: Prefs__dom__crypto,
pub custom_elements: Prefs__dom__custom_elements,
pub document: Prefs__dom__document,
pub forcetouch: Prefs__dom__forcetouch,
pub fullscreen: Prefs__dom__fullscreen,
pub gamepad: Prefs__dom__gamepad,
pub imagebitmap: Prefs__dom__imagebitmap,
pub intersection_observer: Prefs__dom__intersection_observer,
pub microdata: Prefs__dom__microdata,
pub mouse_event: Prefs__dom__mouse_event,
pub mutation_observer: Prefs__dom__mutation_observer,
pub offscreen_canvas: Prefs__dom__offscreen_canvas,
pub permissions: Prefs__dom__permissions,
pub resize_observer: Prefs__dom__resize_observer,
pub script: Prefs__dom__script,
pub serviceworker: Prefs__dom__serviceworker,
pub servo_helpers: Prefs__dom__servo_helpers,
pub servoparser: Prefs__dom__servoparser,
pub shadowdom: Prefs__dom__shadowdom,
pub svg: Prefs__dom__svg,
pub testable_crash: Prefs__dom__testable_crash,
pub testbinding: Prefs__dom__testbinding,
pub testing: Prefs__dom__testing,
pub testperf: Prefs__dom__testperf,
pub webgl2: Prefs__dom__webgl2,
pub webrtc: Prefs__dom__webrtc,
pub webvtt: Prefs__dom__webvtt,
pub webxr: Prefs__dom__webxr,
pub worklet: Prefs__dom__worklet,
pub xpath: Prefs__dom__xpath,
}
Fields§
§webgpu: Prefs__dom__webgpu
§bluetooth: Prefs__dom__bluetooth
§abort_controller: Prefs__dom__abort_controller
§allow_scripts_to_close_windows: bool
§canvas_capture: Prefs__dom__canvas_capture
§canvas_text: Prefs__dom__canvas_text
§composition_event: Prefs__dom__composition_event
§crypto: Prefs__dom__crypto
§custom_elements: Prefs__dom__custom_elements
§document: Prefs__dom__document
§forcetouch: Prefs__dom__forcetouch
§fullscreen: Prefs__dom__fullscreen
§gamepad: Prefs__dom__gamepad
§imagebitmap: Prefs__dom__imagebitmap
§intersection_observer: Prefs__dom__intersection_observer
§microdata: Prefs__dom__microdata
§mouse_event: Prefs__dom__mouse_event
§mutation_observer: Prefs__dom__mutation_observer
§offscreen_canvas: Prefs__dom__offscreen_canvas
§permissions: Prefs__dom__permissions
§resize_observer: Prefs__dom__resize_observer
§script: Prefs__dom__script
§serviceworker: Prefs__dom__serviceworker
§servo_helpers: Prefs__dom__servo_helpers
§servoparser: Prefs__dom__servoparser
§shadowdom: Prefs__dom__shadowdom
§svg: Prefs__dom__svg
§testable_crash: Prefs__dom__testable_crash
§testbinding: Prefs__dom__testbinding
§testing: Prefs__dom__testing
§testperf: Prefs__dom__testperf
§webgl2: Prefs__dom__webgl2
§webrtc: Prefs__dom__webrtc
§webvtt: Prefs__dom__webvtt
§webxr: Prefs__dom__webxr
§worklet: Prefs__dom__worklet
§xpath: Prefs__dom__xpath
Trait Implementations§
source§impl Clone for Prefs__dom
impl Clone for Prefs__dom
source§fn clone(&self) -> Prefs__dom
fn clone(&self) -> Prefs__dom
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 Prefs__dom
impl Debug for Prefs__dom
source§impl Default for Prefs__dom
impl Default for Prefs__dom
source§fn default() -> Prefs__dom
fn default() -> Prefs__dom
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for Prefs__dom
impl<'de> Deserialize<'de> for Prefs__dom
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for Prefs__dom
impl PartialEq for Prefs__dom
source§impl Serialize for Prefs__dom
impl Serialize for Prefs__dom
impl StructuralPartialEq for Prefs__dom
Auto Trait Implementations§
impl Freeze for Prefs__dom
impl RefUnwindSafe for Prefs__dom
impl Send for Prefs__dom
impl Sync for Prefs__dom
impl Unpin for Prefs__dom
impl UnwindSafe for Prefs__dom
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> MaybeBoxed<Box<T>> for T
impl<T> MaybeBoxed<Box<T>> for T
source§fn maybe_boxed(self) -> Box<T>
fn maybe_boxed(self) -> Box<T>
Convert
source§impl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
source§fn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert